Skip to content

Commit

Permalink
fix(docs): fix notification channel importance usage
Browse files Browse the repository at this point in the history
  • Loading branch information
hoppjan authored and F43nd1r committed May 6, 2024
1 parent 0c2b36c commit a329d35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/docs/Interactions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ notification {
//optional channel description
channelDescription = getString(R.string.notification_channel_desc)
//defaults to NotificationManager.IMPORTANCE_HIGH
resChannelImportance = NotificationManager.IMPORTANCE_MAX
channelImportance = NotificationManager.IMPORTANCE_MAX
//optional, enables ticker text
tickerText = getString(R.string.notification_ticker)
//defaults to android.R.drawable.stat_sys_warning
Expand Down Expand Up @@ -180,7 +180,7 @@ new NotificationConfigurationBuilder()
//optional channel description
.withChannelDescription(getString(R.string.notification_channel_desc))
//defaults to NotificationManager.IMPORTANCE_HIGH
.withResChannelImportance(NotificationManager.IMPORTANCE_MAX)
.withChannelImportance(NotificationManager.IMPORTANCE_MAX)
//optional, enables ticker text
.withTickerText(getString(R.string.notification_ticker))
//defaults to android.R.drawable.stat_sys_warning
Expand Down

0 comments on commit a329d35

Please sign in to comment.