Remove test log

This commit is contained in:
Lumaa 2024-01-13 13:15:46 +01:00
parent 1010db0f4d
commit 81157a3f81
1 changed files with 13 additions and 4 deletions

View File

@ -34,7 +34,17 @@ struct ContentView: View {
.background(Color.appBackground)
.tag(TabDestination.activity)
AccountView(isCurrent: true, account: accountManager.getAccount() ?? .placeholder())
ZStack {
if accountManager.getAccount() != nil {
AccountView(isCurrent: true, account: accountManager.forceAccount())
.background(Color.appBackground)
} else {
ZStack {
Color.appBackground
.ignoresSafeArea()
}
}
}
.background(Color.appBackground)
.tag(TabDestination.profile)
@ -50,7 +60,6 @@ struct ContentView: View {
.environment(navigator)
.environment(appDelegate)
.onAppear {
print("APPEAR") // test thing
if accountManager.getClient() == nil {
Task {
await recognizeAccount()