mirror of
https://github.com/lumaa-dev/BubbleApp.git
synced 2025-01-04 04:50:43 +01:00
Fix missing welcome view
This commit is contained in:
parent
f57c0aa9a0
commit
d3a790001a
@ -87,7 +87,7 @@ struct ContentView: View {
|
||||
func recognizeAccount() async {
|
||||
let appAccount: AppAccount? = AppAccount.loadAsCurrent()
|
||||
if appAccount == nil {
|
||||
uniNavigator.presentedSheet = .welcome
|
||||
uniNavigator.presentedCover = .welcome
|
||||
} else {
|
||||
//TODO: Fix this? (Fatal error: calling into SwiftUI on a non-main thread is not supported)
|
||||
accountManager.setClient(.init(server: appAccount!.server, oauthToken: appAccount!.oauthToken))
|
||||
@ -97,7 +97,7 @@ struct ContentView: View {
|
||||
if fetched == nil {
|
||||
accountManager.clear()
|
||||
appAccount!.clear()
|
||||
uniNavigator.presentedSheet = .welcome
|
||||
uniNavigator.presentedCover = .welcome
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user