Skip to content

Commit

Permalink
Merge pull request #1980 from TeamAmaze/bugfix/1712
Browse files Browse the repository at this point in the history
1712: Add update listener for hide dialog
  • Loading branch information
VishalNehra authored Sep 8, 2020
2 parents 2feca6c + 3fc192b commit c896daf
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1313,6 +1313,11 @@ public static void showHiddenDialog(
builder.dividerColor(Color.GRAY);
MaterialDialog materialDialog = builder.build();
adapter.updateDialog(materialDialog);
materialDialog.setOnDismissListener(
dialogInterface ->
m.getMainActivity()
.getCurrentMainFragment()
.loadlist(m.getCurrentPath(), false, OpenMode.UNKNOWN));
materialDialog.show();
}

Expand Down

0 comments on commit c896daf

Please sign in to comment.