diff --git a/MiddleMe/MiddleMeApp.swift b/MiddleMe/MiddleMeApp.swift index da0704c..38f452d 100644 --- a/MiddleMe/MiddleMeApp.swift +++ b/MiddleMe/MiddleMeApp.swift @@ -32,7 +32,9 @@ struct MiddleMeApp: App { var body: some Scene { WindowGroup { - ContentView() + ContentView().onAppear{ + settings.checkAccess() + } .environmentObject(settings) .fixedSize() .preferredColorScheme(.dark)