Switch to private account on selecting to not use public location (#212)

This commit is contained in:
Arkadiusz Fal
2022-07-03 22:39:10 +02:00
parent 1732aa6267
commit 611f11817b
4 changed files with 13 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ final class InstancesManifest: Service, ObservableObject {
guard let country = country else {
accounts.publicAccount = nil
if asCurrent {
accounts.setCurrent(nil)
accounts.configureAccount()
}
return
}