Skip to content
Snippets Groups Projects
Verified Commit 9f86806d authored by Torsten Grote's avatar Torsten Grote
Browse files

Unselect selected forum post when changing forums

parent 6d1fcc7b
Branches
No related tags found
1 merge request!240Forum List and Adding Forums
Pipeline #12200 passed
...@@ -81,6 +81,7 @@ class ThreadedConversationViewModel @Inject constructor( ...@@ -81,6 +81,7 @@ class ThreadedConversationViewModel @Inject constructor(
@UiExecutor @UiExecutor
fun setGroupItem(groupItem: GroupItem) { fun setGroupItem(groupItem: GroupItem) {
this.groupItem = groupItem this.groupItem = groupItem
_selectedPost.value = null
loadPosts(groupItem.id) loadPosts(groupItem.id)
} }
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment