Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Fixes dismiss of the PopUps dialog (#2186)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored and bluemarvin committed Nov 7, 2019
1 parent ebc151c commit b92bf90
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,10 @@ public void onDismiss() {
if (!mCurrentView.isEditing()) {
if (isLanguagesSubView(mCurrentView)) {
showLanguageOptionsDialog();

} else if (isPrivacySubView(mCurrentView)) {
showPrivacyOptionsDialog();

} else {
showView(null);
}
Expand Down Expand Up @@ -554,4 +558,12 @@ private boolean isLanguagesSubView(View view) {
return false;
}

private boolean isPrivacySubView(View view) {
if (view instanceof AllowedPopUpsOptionsView) {
return true;
}

return false;
}

}

0 comments on commit b92bf90

Please sign in to comment.