Skip to content

Commit

Permalink
Hide notification on click
Browse files Browse the repository at this point in the history
  • Loading branch information
gouravkhunger committed Mar 14, 2022
1 parent 38a0b95 commit 81ee2a3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ class DailyQuoteWorker(
.setSound(
RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION)
)
.setAutoCancel(true)

// create notification channels for SDK >= SDK 26
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
Expand Down

0 comments on commit 81ee2a3

Please sign in to comment.