mirror of
https://github.com/yattee/yattee.git
synced 2026-10-27 15:07:18 +00:00
Let accounts be set inactive without signing them out
An inactive account keeps its credential and syncs like a rename, but drops out of every picker and cannot be used until activated again. Deactivating the selected account switches to the local context as a published choice, so other devices follow instead of falling back.
This commit is contained in:
@@ -294,7 +294,7 @@ enum DataContextSwitcherGlyph {
|
||||
return true
|
||||
case let .temporarilyUnavailable(reason):
|
||||
switch reason {
|
||||
case .instanceDisabled, .credentialRejected, .unreachable: return true
|
||||
case .instanceDisabled, .accountInactive, .credentialRejected, .unreachable: return true
|
||||
case .checking, .instancePending, .credentialMissing: return false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user