mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-11-10 23:56:43 +01:00
Merge pull request #1071 from greenart7c3/main
Fix edit draft not working when using the quick action menu
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user