mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-27 23:24:32 +00:00
small improvements
This commit is contained in:
parent
3684802398
commit
f7fbb81d36
16 changed files with 834 additions and 49 deletions
|
|
@ -28,7 +28,10 @@ final class ShelfStateViewModel: ObservableObject {
|
|||
static let shared = ShelfStateViewModel()
|
||||
|
||||
@Published private(set) var items: [ShelfItem] = [] {
|
||||
didSet { ShelfPersistenceService.shared.save(items) }
|
||||
didSet {
|
||||
ShelfPersistenceService.shared.save(items)
|
||||
ShelfSelectionModel.shared.reconcileSelection(with: items)
|
||||
}
|
||||
}
|
||||
|
||||
@Published var isLoading: Bool = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue