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