Closes popup when finished editing.

This commit is contained in:
Vitor Pamplona 2024-03-01 10:40:43 -05:00
parent 7468352795
commit 1cc4fd5183

View File

@ -483,7 +483,10 @@ fun NoteDropDownMenu(
if (wantsToEditPost.value) {
EditPostView(
onClose = { wantsToEditPost.value = false },
onClose = {
popupExpanded.value = false
wantsToEditPost.value = false
},
edit = note,
accountViewModel = accountViewModel,
nav = nav,