mirror of
https://github.com/yattee/yattee.git
synced 2025-08-06 10:44:06 +00:00
Lint
This commit is contained in:
@@ -53,7 +53,7 @@ final class InstancesModel: ObservableObject {
|
||||
}
|
||||
|
||||
static func remove(_ instance: Instance) {
|
||||
let accounts = InstancesModel.accounts(instance.id)
|
||||
let accounts = Self.accounts(instance.id)
|
||||
if let index = Defaults[.instances].firstIndex(where: { $0.id == instance.id }) {
|
||||
Defaults[.instances].remove(at: index)
|
||||
accounts.forEach { AccountsModel.remove($0) }
|
||||
|
Reference in New Issue
Block a user