Fix profile tab swap

This commit is contained in:
Thomas Ricouard 2023-01-30 22:24:30 +01:00
parent f638197a08
commit ec26ea802c

View file

@ -23,7 +23,7 @@ struct ProfileTab: View {
.withAppRouter()
.withSheetDestinations(sheetDestinations: $routerPath.presentedSheet)
.toolbarBackground(theme.primaryBackgroundColor.opacity(0.50), for: .navigationBar)
.id(client.id)
.id(account.id)
} else {
AccountDetailView(account: .placeholder())
.redacted(reason: .placeholder)