Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Alexander Borsuk
b73d7cd6a1 [ios] Place newly created bookmarks list at the top
Signed-off-by: Alexander Borsuk <me@alex.bio>
2023-01-02 22:52:42 +01:00

View file

@ -117,8 +117,8 @@ extension BMCDefaultViewModel {
return
}
categories.append(manager.category(withId: manager.createCategory(withName: name)))
view?.insert(at: [IndexPath(row: categories.count - 1, section: section)])
categories.insert(manager.category(withId: manager.createCategory(withName: name)), at: 0)
view?.insert(at: [IndexPath(row: 0, section: section)])
}
func deleteCategory(at index: Int) {