Skip to content

Commit

Permalink
Merge pull request #20836 from wordpress-mobile/issue/20535-fix-crash…
Browse files Browse the repository at this point in the history
…-on-featured-image-dialog

Fix a rare crash on featured image confirmation dialog
  • Loading branch information
aditi-bhatia committed May 18, 2024
2 parents f83cca4 + b5bd863 commit 1987940
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
-----
* [*] Fixed a rare crash on Posts List screen [https://github.com/wordpress-mobile/WordPress-Android/pull/20813]
* [*] Fixed a rare crash on the Login screen [https://github.com/wordpress-mobile/WordPress-Android/pull/20821]
* [*] Fixed a rare crash on the featured image confirmation dialog [https://github.com/wordpress-mobile/WordPress-Android/pull/20836]
* [*] Fixed an ANR issue on the Post List screen [https://github.com/wordpress-mobile/WordPress-Android/pull/20833]

24.9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,10 @@ public void onClick(DialogInterface dialog, int id) {

@UiThread
public void showFeaturedImageConfirmationDialog(final int mediaId) {
if (isStateSaved()) {
return;
}

GutenbergDialogFragment dialog = new GutenbergDialogFragment();
dialog.initialize(
TAG_REPLACE_FEATURED_DIALOG,
Expand Down

0 comments on commit 1987940

Please sign in to comment.