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

Commit 8437d6e

Browse files
keianhzobluemarvin
authored andcommitted
Fixes not updating the private browsing mode tooltip (#1555)
1 parent e51f454 commit 8437d6e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

app/src/common/shared/org/mozilla/vrbrowser/ui/widgets/TrayWidget.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,13 +305,13 @@ private void handleSessionState() {
305305
if (isPrivateMode) {
306306
mWidgetManager.pushWorldBrightness(this, WidgetManagerDelegate.DEFAULT_DIM_BRIGHTNESS);
307307
mPrivateButton.setImageResource(R.drawable.ic_icon_tray_private_browsing_on_v2);
308-
mPrivateButton.setTooltip(getResources().getString(R.string.private_browsing_exit_tooltip));
308+
mPrivateButton.setTooltip(getResources().getString(R.string.private_browsing_exit_tooltip));
309309

310310
} else {
311311
mWidgetManager.popWorldBrightness(this);
312312
mPrivateButton.setImageResource(R.drawable.ic_icon_tray_private_browsing_v2);
313+
mPrivateButton.setTooltip(getResources().getString(R.string.private_browsing_enter_tooltip));
313314
}
314-
mPrivateButton.setTooltip(getResources().getString(R.string.private_browsing_enter_tooltip));
315315
}
316316

317317
mIsLastSessionPrivate = isPrivateMode;

0 commit comments

Comments
 (0)