20 lines
454 B
Swift
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))
|
|
}
|
|
}
|
|
}
|