mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-11 02:51:11 +00:00
Fix macOS 12 not visible on first start
This commit is contained in:
1 parent
c489ef018f
commit
f5d895ed56
3 files changed
+2
-1
No files matched your search
@@ -1,3 +1,4 @@
|
||||
DerivedData/
|
||||
.DerivedData/
|
||||
.DS_Store
|
||||
xcuserdata/
|
||||
@@ -238,6 +238,7 @@ class AppDelegate: NSObject, NSApplicationDelegate, UNUserNotificationCenterDele
|
||||
if let welcomeWindow, !Settings.sharedInstance.appLaunchedBefore {
|
||||
runAfter(seconds: 0.2) {
|
||||
IntroductionSheetManager.sharedInstance.openIntroductionWindow(on: welcomeWindow, startReceiving: self.startReceiving) {
|
||||
self.startReceiving()
|
||||
Settings.sharedInstance.appLaunchedBefore = true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -70,7 +70,6 @@ struct WelcomeScreen: View {
|
||||
.listStyle(SidebarListStyle())
|
||||
|
||||
Divider()
|
||||
.opacity(colorScheme == .light ? 1 : 0.5)
|
||||
.edgesIgnoringSafeArea(.vertical)
|
||||
|
||||
ZStack {
|
||||
|
||||
Reference in new issue
Block a user