We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13dc30f commit 0401694Copy full SHA for 0401694
app/src/main/java/to/bitkit/fcm/WakeNodeWorker.kt
@@ -40,6 +40,7 @@ import to.bitkit.ui.pushNotification
40
import to.bitkit.utils.Logger
41
import to.bitkit.utils.withPerformanceLogging
42
import kotlin.time.Duration.Companion.minutes
43
+import kotlin.time.Duration.Companion.seconds
44
45
@Suppress("LongParameterList")
46
@HiltWorker
@@ -249,7 +250,7 @@ class WakeNodeWorker @AssistedInject constructor(
249
250
}
251
252
// Delay briefly to allow app to come to foreground if user clicked notification
- delay(500)
253
+ delay(1.seconds)
254
255
// Only stop node if app is not in foreground
256
// LightningNodeService will keep node running in background when notifications are enabled
0 commit comments