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) .background(Color.appBackground)
.tag(TabDestination.activity) .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) .background(Color.appBackground)
.tag(TabDestination.profile) .tag(TabDestination.profile)
@ -50,7 +60,6 @@ struct ContentView: View {
.environment(navigator) .environment(navigator)
.environment(appDelegate) .environment(appDelegate)
.onAppear { .onAppear {
print("APPEAR") // test thing
if accountManager.getClient() == nil { if accountManager.getClient() == nil {
Task { Task {
await recognizeAccount() await recognizeAccount()