mirror of
https://github.com/yattee/yattee.git
synced 2026-10-23 21:22:53 +00:00
Picking a sign-in-required account landed on the local fallback with a banner — the switch achieved nothing, and the fix lives in Settings. isSwitchable now refuses a rejected or missing credential the same way it already refused a switched-off source: the row stays listed with its status in the title, disabled. The line runs between states the user must act on and states that heal on their own. Unreachable stays switchable — while the device itself is offline every account reads unreachable, and refusing those would lock the whole switcher — and so do checking and instance-pending, which are refused nothing they may turn out to deserve. Reaches every presentation through the shared rows, and withholds "Use This Account" on the accounts screen through availableContexts. The tests sign their usable accounts in now that a fresh account under a resolved scope defaults to credentialMissing and is refused.