diff --git a/Classes/AppDelegate.swift b/Classes/AppDelegate.swift index de1794c..e1f795a 100644 --- a/Classes/AppDelegate.swift +++ b/Classes/AppDelegate.swift @@ -151,7 +151,9 @@ class AppDelegate: NSObject, NSApplicationDelegate { } func applicationDidFinishLaunching(_ notification: Notification) { - runDonateAlert() + if UserDefaults.standard.bool(forKey: "SBIgnoreDonationAlert") == false { + runDonateAlert() + } } func applicationShouldTerminate(_ sender: NSApplication) -> NSApplication.TerminateReply {