Skip to content
This repository was archived by the owner on Dec 16, 2023. It is now read-only.

Commit cfd1e80

Browse files
committed
Fix duplicate notifications channel ids
Payments notification channel used the same id as the orders channel
1 parent 42fef64 commit cfd1e80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/com/marknkamau/justjava/utils/NotificationHelper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ interface NotificationHelper {
3131
class NotificationHelperImpl(private val context: Context) : NotificationHelper {
3232
override val defaultChannelId = "defaultNotificationChannel"
3333
override val ordersChannelId = "ordersNotificationChannel"
34-
override val paymentsChannelId = "ordersNotificationChannel"
34+
override val paymentsChannelId = "paymentsNotificationChannel"
3535

3636
private val notificationManager by lazy {
3737
context.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager

0 commit comments

Comments
 (0)