Update Mac background colors

This commit is contained in:
Leon Böttger authored and Leon Böttger committed 2026-03-25 07:19:17 +01:00
1 parent ff39ba4c7d
commit 13f3073077
4 files changed
+6133 -6131

No files matched your search

@@ -52,7 +52,7 @@
"location" : "https://github.com/leonboe1/LUI.git",
"state" : {
"branch" : "main",
"revision" : "c389f3015fbfdf35e6e351b04c28a6d6840153ca"
"revision" : "732e50ce4f7666f911f522eb71f1f67c2c5ce944"
}
},
{
+3 -3
View File
@@ -37,7 +37,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
func applicationDidFinishLaunching(_: Notification) {
// app did not lauch before
if !Settings.sharedInstance.appLaunchedBefore {
log("[AppDelegate] Opening Welcome Screen")
runAfter(seconds: 0.1) { log("[AppDelegate] Opening Welcome Screen") }
DispatchQueue.main.async {
// open welcome screen in next cycle (await LUIInit)
@@ -50,11 +50,11 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
} else {
// app launched before
#if GITHUB
log("[AppDelegate] Downloaded from GitHub.")
runAfter(seconds: 0.1) { log("[AppDelegate] Downloaded from GitHub.") }
#else
// user installed the app before the IAP was implemented, grant the plus version
if !Settings.sharedInstance.isEligibleForIap {
log("[AppDelegate] Granting QuickDrop+ for old user")
runAfter(seconds: 0.1) { log("[AppDelegate] Granting QuickDrop+ for old user") }
UserDefaults.standard.set(true, forKey: Settings.UserDefaultsKeys.plusVersionLegacy.rawValue)
}
#endif
File diff suppressed because it is too large. Load diff
@@ -148,6 +148,7 @@ struct SettingsView: View {
window.center()
window.isReleasedWhenClosed = false
window.title = "TrustedDevices".localized()
window.backgroundColor = NSColor(Color.defaultMacBackgroundColor)
window.contentView = NSHostingView(rootView: TrustedDevicesView())
NSApp.activate(ignoringOtherApps: true)