19 lines
330 B
Swift
19 lines
330 B
Swift
import SwiftUI
|
|
import CoreData
|
|
|
|
struct ContentView: View {
|
|
var body: some View {
|
|
if Settings.shared.user.token.isEmpty {
|
|
AuthView()
|
|
} else {
|
|
EmptyView()
|
|
}
|
|
}
|
|
}
|
|
|
|
struct ContentView_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
ContentView()
|
|
}
|
|
}
|