Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
15 lines
909 B
Diff
15 lines
909 B
Diff
diff --git a/NAPS2.Lib/EtoForms/Ui/AboutForm.cs b/NAPS2.Lib/EtoForms/Ui/AboutForm.cs
|
|
--- a/NAPS2.Lib/EtoForms/Ui/AboutForm.cs
|
|
+++ b/NAPS2.Lib/EtoForms/Ui/AboutForm.cs
|
|
@@ -26,8 +26,8 @@ public class AboutForm : EtoDialogBase
|
|
_donateButton = C.Button(UiStrings.Donate, () => ProcessHelper.OpenUrl(DONATE_URL));
|
|
_donateButton.BackgroundColor = Color.FromRgb(0xfeda96);
|
|
_donateButton.TextColor = Color.FromRgb(0x1b464e);
|
|
- _donateButton.Font = new Font(_donateButton.Font.Family, _donateButton.Font.Size * 11 / 10,
|
|
- FontStyle.Italic | FontStyle.Bold);
|
|
+ try { _donateButton.Font = new Font(_donateButton.Font.Family, _donateButton.Font.Size * 11 / 10,
|
|
+ FontStyle.Italic | FontStyle.Bold); } catch {};
|
|
EtoPlatform.Current.ConfigureDonateButton(_donateButton);
|
|
|
|
_enableDebugLogging.Checked = config.Get(c => c.EnableDebugLogging);
|