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

Commit

Permalink
Fixed button order in confirm prompt (#1403)
Browse files Browse the repository at this point in the history
* Fixed button order in confirm prompt

* Removed outdated comment
  • Loading branch information
keianhzo authored Jul 16, 2019
1 parent c7b95ea commit ee5aba1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,6 @@ public boolean onGenericMotionEvent(MotionEvent aEvent) {
}

private void setPrivateBrowsingEnabled(boolean isEnabled) {
// TODO: Fade in/out the browser window. Waiting for https://github.com/MozillaReality/FirefoxReality/issues/77
}

public void setNoInternetToastVisible(boolean aVisible) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ public void setButtons(String[] btnMsg) {
// Returning 0 should be Ok but is in fact Cancel.
if (btnMsg[POSITIVE] != null) {
mButtons[POSITIVE].setText(btnMsg[POSITIVE]);
mButtons[POSITIVE].setTag(NEGATIVE);
mButtons[POSITIVE].setTag(POSITIVE);
mButtons[POSITIVE].setVisibility(VISIBLE);
}
if (btnMsg[NEUTRAL] != null) {
Expand All @@ -106,7 +106,7 @@ public void setButtons(String[] btnMsg) {
}
if (btnMsg[NEGATIVE] != null) {
mButtons[NEGATIVE].setText(btnMsg[NEGATIVE]);
mButtons[NEGATIVE].setTag(POSITIVE);
mButtons[NEGATIVE].setTag(NEGATIVE);
mButtons[NEGATIVE].setVisibility(VISIBLE);
}
}
Expand Down

0 comments on commit ee5aba1

Please sign in to comment.