Fix macOS 12 not visible on first start

This commit is contained in:
Leon Böttger committed 2026-02-22 18:53:20 +01:00
1 parent c489ef018f
commit f5d895ed56
3 files changed
+2 -1

No files matched your search

+1
View File
@@ -1,3 +1,4 @@
DerivedData/ DerivedData/
.DerivedData/
.DS_Store .DS_Store
xcuserdata/ xcuserdata/
+1
View File
@@ -238,6 +238,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
if let welcomeWindow, !Settings.sharedInstance.appLaunchedBefore { if let welcomeWindow, !Settings.sharedInstance.appLaunchedBefore {
runAfter(seconds: 0.2) { runAfter(seconds: 0.2) {
IntroductionSheetManager.sharedInstance.openIntroductionWindow(on: welcomeWindow, startReceiving: self.startReceiving) { IntroductionSheetManager.sharedInstance.openIntroductionWindow(on: welcomeWindow, startReceiving: self.startReceiving) {
self.startReceiving()
Settings.sharedInstance.appLaunchedBefore = true Settings.sharedInstance.appLaunchedBefore = true
} }
} }
@@ -70,7 +70,6 @@ struct WelcomeScreen: View {
.listStyle(SidebarListStyle()) .listStyle(SidebarListStyle())
Divider() Divider()
.opacity(colorScheme == .light ? 1 : 0.5)
.edgesIgnoringSafeArea(.vertical) .edgesIgnoringSafeArea(.vertical)
ZStack { ZStack {