Skip to content

Commit

Permalink
Show ContentView in both states
Browse files Browse the repository at this point in the history
  • Loading branch information
Reeywhaar committed Jun 13, 2022
1 parent b24e1f9 commit 6fca984
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion MiddleMe/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ struct ContentView: View {

struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView().environmentObject(Settings())
let s1 = Settings()
let s2 = Settings()
let _ = {s2.permissionGranted = true}()

ContentView().environmentObject(s1)
ContentView().environmentObject(s2)
}
}

Expand Down

0 comments on commit 6fca984

Please sign in to comment.