mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-25 09:41:00 +00:00
Refactoring
This commit is contained in:
parent
11e8f1b3f8
commit
29c4f578e8
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class StatusListViewModel: ObservableObject {
|
|||
self?.statuses = Dictionary(uniqueKeysWithValues: $0.reduce([], +).map { ($0.id, $0) })
|
||||
})
|
||||
.assignErrorsToAlertItem(to: \.alertItem, on: self)
|
||||
.map { $0.map { section in section.map(\.id) } }
|
||||
.map { $0.map { $0.map(\.id) } }
|
||||
.assign(to: &$statusIDs)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue