another.im-ios/Monal/another.im/Views/RootView.swift
2024-11-19 16:42:36 +01:00

29 lines
622 B
Swift

import SwiftUI
struct RootView: View {
@EnvironmentObject var wrapper: MonalXmppWrapper
@Environment(\.router) var router
var body: some View {
ZStack {
Color.Material.Background.dark
Image(.aimLogo)
.resizable()
.frame(width: 200, height: 200)
}
.ignoresSafeArea()
.onAppear {
switch wrapper.accountsAvailability {
case .noAccounts:
break
case .someEnabled:
break
case .allDisabled:
break
}
}
}
}