Merge pull request #1071 from greenart7c3/main

Fix edit draft not working when using the quick action menu
This commit is contained in:
Vitor Pamplona
2024-09-09 13:33:54 -04:00
committed by GitHub

View File

@@ -206,6 +206,7 @@ fun NoteQuickActionMenu(
if (editDraftDialog.value) {
NewPostView(
onClose = {
onDismiss()
editDraftDialog.value = false
},
accountViewModel = accountViewModel,
@@ -427,7 +428,6 @@ private fun RenderMainPopup(
Icons.Default.Edit,
stringRes(R.string.edit_draft),
) {
onDismiss()
onWantsToEditDraft()
}
} else {