forked from organicmaps/organicmaps
[ios] Place newly created bookmarks list at the top
Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
parent
2c7c959b7d
commit
b73d7cd6a1
1 changed files with 2 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Reference in a new issue