Skip to content
This repository was archived by the owner on Apr 17, 2021. It is now read-only.

Commit b62b679

Browse files
committed
Closes #2786: Fix tooltip text saying turbo mode
1 parent f5d492d commit b62b679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/mozilla/tv/firefox/navigationoverlay/ToolbarUiController.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class ToolbarUiController(
162162
}
163163

164164
layout.turboButton.contentDescription = turboText
165-
tooltipView.tooltip.text = turboText
165+
if (layout.turboButton.hasFocus()) tooltipView.tooltip.text = turboText
166166

167167
if (!hasUserChangedURLSinceEditTextFocused) {
168168
// The url can get updated in the background, e.g. if a loading page is redirected. We

0 commit comments

Comments
 (0)