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,9 +34,19 @@ struct ContentView: View {
.background(Color.appBackground) .background(Color.appBackground)
.tag(TabDestination.activity) .tag(TabDestination.activity)
AccountView(isCurrent: true, account: accountManager.getAccount() ?? .placeholder()) ZStack {
.background(Color.appBackground) if accountManager.getAccount() != nil {
.tag(TabDestination.profile) AccountView(isCurrent: true, account: accountManager.forceAccount())
.background(Color.appBackground)
} else {
ZStack {
Color.appBackground
.ignoresSafeArea()
}
}
}
.background(Color.appBackground)
.tag(TabDestination.profile)
}) })
.overlay(alignment: .bottom) { .overlay(alignment: .bottom) {
@ -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()