Remove test log
This commit is contained in:
parent
1010db0f4d
commit
81157a3f81
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue