another.im-ios/old/View/Screens/StartScreen.swift
2024-08-11 13:09:29 +02:00

20 lines
459 B
Swift

import SwiftUI
struct StartScreen: View {
@EnvironmentObject var store: AppStore
var body: some View {
ZStack {
Color.Material.Background.light
Image.logo
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 200, height: 200)
}
.ignoresSafeArea()
.onAppear {
store.dispatch(.startAction(.loadStoredAccounts))
}
}
}