diff options
author | Shav Kinderlehrer <[email protected]> | 2023-12-12 17:12:58 -0500 |
---|---|---|
committer | Shav Kinderlehrer <[email protected]> | 2023-12-12 17:12:58 -0500 |
commit | 9ccd37f754db33a190a9867bd5a310dfe5f4d17c (patch) | |
tree | 6df5dd28d1ab2b4fd4828dd37e0e06c20e65197d /Jel/ContentView.swift | |
parent | fbb37567460b689f01eb8a8717b9ac8673652c28 (diff) | |
download | jel-9ccd37f754db33a190a9867bd5a310dfe5f4d17c.tar.gz jel-9ccd37f754db33a190a9867bd5a310dfe5f4d17c.zip |
Use System/Info/Public instead of Users/Public to verify server
Diffstat (limited to 'Jel/ContentView.swift')
-rw-r--r-- | Jel/ContentView.swift | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/Jel/ContentView.swift b/Jel/ContentView.swift deleted file mode 100644 index 356615d..0000000 --- a/Jel/ContentView.swift +++ /dev/null @@ -1,30 +0,0 @@ -// -// ContentView.swift -// Jel -// -// Created by zerocool on 12/11/23. -// - -import SwiftUI - -struct ContentView: View { - @ObservedObject var authState: AuthStateController - var body: some View { - VStack { - if !authState.loggedIn { - SignInView(authState: authState) - } else { - Text("Logged in") - Button("Log out") { - authState.loggedIn = false - authState.save() - } - } - } - .padding() - } -} - -#Preview { - ContentView(authState: AuthStateController()) -} |