@@ -15,6 +15,7 @@ import kotlinx.serialization.json.JsonPrimitive
1515import kotlinx.serialization.json.contentOrNull
1616import kotlinx.serialization.json.jsonObject
1717import org.lightningdevkit.ldknode.Event
18+ import to.bitkit.R
1819import to.bitkit.data.CacheStore
1920import to.bitkit.data.SettingsStore
2021import to.bitkit.di.json
@@ -34,7 +35,6 @@ import to.bitkit.repositories.ActivityRepo
3435import to.bitkit.repositories.BlocktankRepo
3536import to.bitkit.repositories.LightningRepo
3637import to.bitkit.services.CoreService
37- import to.bitkit.R
3838import to.bitkit.ui.pushNotification
3939import to.bitkit.utils.Logger
4040import to.bitkit.utils.withPerformanceLogging
@@ -161,10 +161,12 @@ class WakeNodeWorker @AssistedInject constructor(
161161 title = appContext.getString(R .string.notification_channel_closed_title),
162162 body = appContext.getString(R .string.notification_channel_closed_mutual_body),
163163 )
164+
164165 orderPaymentConfirmed -> NotificationDetails (
165166 title = appContext.getString(R .string.notification_channel_open_bg_failed_title),
166167 body = appContext.getString(R .string.notification_please_try_again_body),
167168 )
169+
168170 else -> NotificationDetails (
169171 title = appContext.getString(R .string.notification_channel_closed_title),
170172 body = appContext.getString(R .string.notification_channel_closed_reason_body, event.reason),
0 commit comments