mirror of
https://github.com/we-promise/sure.git
synced 2026-09-05 23:01:26 +00:00
* Add Swift-native Sure app * Fix push subscriptions schema for CI * Address native app review feedback * Address remaining native app review feedback * Use Flutter app logo for native icon * Honor insight notification preferences and locale --------- Co-authored-by: Juan Jose Mata <2v8shcb6pz@privaterelay.appleid.com> Co-authored-by: sure-admin <sure-admin@splashblot.com>
17 lines
296 B
Swift
17 lines
296 B
Swift
import SwiftUI
|
|
|
|
struct SureRootView: View {
|
|
@Environment(SureStore.self) private var store
|
|
|
|
var body: some View {
|
|
Group {
|
|
if store.isConfigured {
|
|
SureMainTabView()
|
|
} else {
|
|
SureSetupView()
|
|
}
|
|
}
|
|
.animation(.smooth, value: store.isConfigured)
|
|
}
|
|
}
|