Skip to content

Commit 0f7527a

Browse files
committed
chore: lint
1 parent 06d271d commit 0f7527a

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

app/src/main/java/to/bitkit/fcm/WakeNodeWorker.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import kotlinx.serialization.json.JsonPrimitive
1515
import kotlinx.serialization.json.contentOrNull
1616
import kotlinx.serialization.json.jsonObject
1717
import org.lightningdevkit.ldknode.Event
18+
import to.bitkit.R
1819
import to.bitkit.data.CacheStore
1920
import to.bitkit.data.SettingsStore
2021
import to.bitkit.di.json
@@ -34,7 +35,6 @@ import to.bitkit.repositories.ActivityRepo
3435
import to.bitkit.repositories.BlocktankRepo
3536
import to.bitkit.repositories.LightningRepo
3637
import to.bitkit.services.CoreService
37-
import to.bitkit.R
3838
import to.bitkit.ui.pushNotification
3939
import to.bitkit.utils.Logger
4040
import 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),

app/src/main/java/to/bitkit/ui/ContentView.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,7 @@ private fun RootNavHost(
744744
}
745745

746746
// region destinations
747+
@Suppress("LongParameterList")
747748
private fun NavGraphBuilder.home(
748749
walletViewModel: WalletViewModel,
749750
appViewModel: AppViewModel,

app/src/main/java/to/bitkit/ui/settings/appStatus/AppStatusScreen.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ fun AppStatusScreen(
6666
)
6767
}
6868

69+
@Suppress("CyclomaticComplexMethod")
6970
@Composable
7071
private fun Content(
7172
uiState: AppStatusUiState = AppStatusUiState(),

0 commit comments

Comments
 (0)