conversations-classic-ios/ConversationsClassic/View/Screens/StartScreen.swift
2024-07-04 10:21:12 +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))
}
}
}