another.im-ios/ConversationsClassic/View/Screens/StartScreen.swift
2024-06-19 17:15:27 +02:00

20 lines
454 B
Swift

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))
}
}
}