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

Commit

Permalink
Fix popup notification in curved mode (#2114)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored and bluemarvin committed Nov 1, 2019
1 parent b88d869 commit 56c3c84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1216,7 +1216,7 @@ private void showNotification(UIButton button, int stringRes) {
mPopUpNotification.getPlacement().translationZ = 25.0f;
mPopUpNotification.getPlacement().density = WidgetPlacement.floatDimension(getContext(), R.dimen.tooltip_default_density);
mPopUpNotification.setText(stringRes);
mPopUpNotification.setCurvedMode(false);
mPopUpNotification.setCurvedMode(true);
mPopUpNotification.show(UIWidget.CLEAR_FOCUS);

postDelayed(() -> hideNotification(button), NOTIFICATION_DURATION);
Expand Down

0 comments on commit 56c3c84

Please sign in to comment.