another.im-ios/ConversationsClassic/View/Screens/StartScreen.swift

20 lines
454 B
Swift
Raw Normal View History

2024-06-19 15:15:27 +00:00
import SwiftUI
struct StartScreen: View {
@EnvironmentObject var store: AppStore
var body: some View {
ZStack {
Color.Main.backgroundLight
Image.logo
.resizable()
.aspectRatio(contentMode: .fit)
.frame(width: 200, height: 200)
}
.ignoresSafeArea()
.onAppear {
store.dispatch(.startAction(.loadStoredAccounts))
}
}
}