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

Commit 56c3c84

Browse files
keianhzobluemarvin
authored andcommitted
Fix popup notification in curved mode (#2114)
1 parent b88d869 commit 56c3c84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1216,7 +1216,7 @@ private void showNotification(UIButton button, int stringRes) {
12161216
mPopUpNotification.getPlacement().translationZ = 25.0f;
12171217
mPopUpNotification.getPlacement().density = WidgetPlacement.floatDimension(getContext(), R.dimen.tooltip_default_density);
12181218
mPopUpNotification.setText(stringRes);
1219-
mPopUpNotification.setCurvedMode(false);
1219+
mPopUpNotification.setCurvedMode(true);
12201220
mPopUpNotification.show(UIWidget.CLEAR_FOCUS);
12211221

12221222
postDelayed(() -> hideNotification(button), NOTIFICATION_DURATION);

0 commit comments

Comments
 (0)