mirror of
https://github.com/yattee/yattee.git
synced 2026-11-06 03:47:17 +00:00
Tell the accounts apart, and let a disabled source come back
This commit is contained in:
@@ -962,6 +962,9 @@ final class AppEnvironment {
|
||||
switch instance.type {
|
||||
case .invidious: return invidiousCredentialsManager
|
||||
case .piped: return pipedCredentialsManager
|
||||
// The slot a future account-keyed store lands in. What a backend's
|
||||
// accounts can do is `InstanceType.accountCapabilities`; which store
|
||||
// holds their secrets is this switch, and the two move together.
|
||||
default: return nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user