mirror of
https://github.com/yattee/yattee.git
synced 2026-11-04 02:47:18 +00:00
Ask what a backend supports instead of what it is
This commit is contained in:
@@ -224,7 +224,7 @@ struct ImportSubscriptionsView: View {
|
||||
error = nil
|
||||
|
||||
do {
|
||||
guard instance.type == .invidious || instance.type == .piped else {
|
||||
guard instance.type.accountCapabilities.supportsSubscriptions else {
|
||||
throw ImportError.notSupported
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user