From a329d3571ae4f185ff60c3ce85309a8e9dcce848 Mon Sep 17 00:00:00 2001 From: hoppjan <83405332+hoppjan@users.noreply.github.com> Date: Mon, 6 May 2024 16:36:50 +0200 Subject: [PATCH] fix(docs): fix notification channel importance usage --- web/docs/Interactions.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/docs/Interactions.mdx b/web/docs/Interactions.mdx index 782517a159..a216a25937 100644 --- a/web/docs/Interactions.mdx +++ b/web/docs/Interactions.mdx @@ -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 @@ -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