mirror of
https://github.com/yattee/yattee.git
synced 2025-10-11 01:48:12 +00:00
Allow import of accounts to manually added (not imported) instances
This commit is contained in:
@@ -42,7 +42,7 @@ final class ImportSettingsSheetViewModel: ObservableObject {
|
||||
|
||||
return ((account.password != nil && !account.password!.isEmpty) ||
|
||||
importableAccounts.contains(account.id)) && (
|
||||
(InstancesModel.shared.find(instanceID) != nil) ||
|
||||
(InstancesModel.shared.find(instanceID) != nil || InstancesModel.shared.findByURLString(account.urlString) != nil) ||
|
||||
selectedInstances.contains(instanceID)
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user