Closes popup when finished editing.
This commit is contained in:
@@ -483,7 +483,10 @@ fun NoteDropDownMenu(
|
|||||||
|
|
||||||
if (wantsToEditPost.value) {
|
if (wantsToEditPost.value) {
|
||||||
EditPostView(
|
EditPostView(
|
||||||
onClose = { wantsToEditPost.value = false },
|
onClose = {
|
||||||
|
popupExpanded.value = false
|
||||||
|
wantsToEditPost.value = false
|
||||||
|
},
|
||||||
edit = note,
|
edit = note,
|
||||||
accountViewModel = accountViewModel,
|
accountViewModel = accountViewModel,
|
||||||
nav = nav,
|
nav = nav,
|
||||||
|
|||||||
Reference in New Issue
Block a user