Skip to content

Commit

Permalink
(android) Fix several issues in navigation and wake-up
Browse files Browse the repository at this point in the history
  • Loading branch information
dpad85 committed Nov 25, 2024
1 parent 5ff7c9c commit 00ab576
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 406,7 @@ fun AppView(
AboutView()
}
composable("${Screen.PaymentSettings.route}?showAuthSchemeDialog={showAuthSchemeDialog}", arguments = listOf(
navArgument("showAuthSchemeDialog") { type = NavType.BoolType }
navArgument("showAuthSchemeDialog") { type = NavType.BoolType ; defaultValue = false }
)) {
val showAuthSchemeDialog = it.arguments?.getBoolean("showAuthSchemeDialog") ?: false
PaymentSettingsView(initialShowLnurlAuthSchemeDialog = showAuthSchemeDialog)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 185,7 @@ private fun OnChainBalance(
OnChainBalanceEntry(
label = stringResource(id = R.string.home_swapin_ready_title),
icon = if (expiringSoon) R.drawable.ic_alert_triangle else R.drawable.ic_sleep,
amount = fundsBeingConfirmed,
amount = fundsConfirmedNotLocked.toMilliSatoshi(),
description = {
Column {
Text(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 27,6 @@ class BootReceiver : BroadcastReceiver() {
override fun onReceive(context: Context, intent: Intent) {
if (Intent.ACTION_BOOT_COMPLETED == intent.action) {
ChannelsWatcher.schedule(context)
DailyConnect.schedule(context)
InflightPaymentsWatcher.scheduleOnce(context)
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 232,6 @@ class NodeService : Service() {
log.info("starting node from service state=${_state.value?.name} with checkLegacyChannels=$requestCheckLegacyChannels")
doStartBusiness(decryptedMnemonics, requestCheckLegacyChannels)
ChannelsWatcher.schedule(applicationContext)
DailyConnect.schedule(applicationContext)
ContactsPhotoCleaner.scheduleASAP(applicationContext)
_state.postValue(NodeServiceState.Running)
}
Expand Down

0 comments on commit 00ab576

Please sign in to comment.