mirror of
https://github.com/ZuneDev/ZuneModdingHelper.git
synced 2026-07-27 13:12:21 -07:00
Add OpenDonationLink helper
This commit is contained in:
@@ -35,6 +35,8 @@ namespace ZuneModdingHelper
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void OpenDonationLink() => OpenInBrowser(DonateLink);
|
||||||
|
|
||||||
private static void ConfigureServices()
|
private static void ConfigureServices()
|
||||||
{
|
{
|
||||||
ServiceCollection services = new();
|
ServiceCollection services = new();
|
||||||
|
|||||||
@@ -156,9 +156,6 @@ namespace ZuneModdingHelper
|
|||||||
DialogPresenter.Content = null;
|
DialogPresenter.Content = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void TileButton_Click(object sender, RoutedEventArgs e)
|
private void TileButton_Click(object sender, RoutedEventArgs e) => App.OpenDonationLink();
|
||||||
{
|
|
||||||
App.OpenInBrowser(App.DonateLink);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user