Add OpenDonationLink helper

This commit is contained in:
Yoshi Askharoun
2025-08-19 18:27:35 -05:00
parent 53df8b83a1
commit 3769b79b7a
2 changed files with 3 additions and 4 deletions
+2
View File
@@ -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();
+1 -4
View File
@@ -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);
}
} }
} }