Skip to content

Commit

Permalink
Restore permission check
Browse files Browse the repository at this point in the history
  • Loading branch information
Reeywhaar committed Jun 13, 2022
1 parent eb1d162 commit b24e1f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion MiddleMe/MiddleMeApp.swift
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ struct MiddleMeApp: App {

var body: some Scene {
WindowGroup {
ContentView()
ContentView().onAppear{
settings.checkAccess()
}
.environmentObject(settings)
.fixedSize()
.preferredColorScheme(.dark)
Expand Down

0 comments on commit b24e1f9

Please sign in to comment.