mirror of
https://github.com/leonboe1/QuickDrop.git
synced 2026-11-21 13:55:58 +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/
|
||||||
|
.DerivedData/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
xcuserdata/
|
xcuserdata/
|
||||||
@@ -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 {
|
||||||
|
|||||||
Reference in new issue
Block a user