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

Commit

Permalink
Remove the notification Id when closed by a back button click (#2758)
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo authored Feb 11, 2020
1 parent 2933730 commit 6d038c9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ public static void show(int notificationId, @NonNull Notification notification)
}

TooltipWidget notificationView = new TooltipWidget(notification.mParent.getContext(), notification.mLayoutRes);
notificationView.setDelegate(() -> hide(notificationId));

setPlacement(notificationView, notification);

Expand Down

0 comments on commit 6d038c9

Please sign in to comment.