mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-22 11:38:57 +00:00
fix(community-chat): don't switch to the first channel when reordering
Fixes #6574
This commit is contained in:
parent
080966cc19
commit
e5f9177bcd
@ -502,7 +502,6 @@ method setFirstChannelAsActive*(self: Module) =
|
||||
|
||||
method onReorderChatOrCategory*(self: Module, chatOrCatId: string, position: int) =
|
||||
self.view.chatsModel().reorder(chatOrCatId, position)
|
||||
self.setFirstChannelAsActive()
|
||||
|
||||
method onCategoryNameChanged*(self: Module, category: Category) =
|
||||
self.view.chatsModel().renameItem(category.id, category.name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user