File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/src/main/java/to/bitkit Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -266,8 +266,8 @@ class HomeViewModel @Inject constructor(
266266 Suggestion .BACK_UP .takeIf { ! settings.backupVerified },
267267 // The previous list had LIGHTNING_SETTING_UP and the current don't
268268 Suggestion .LIGHTNING_READY .takeIf {
269- Suggestion .LIGHTNING_SETTING_UP in _uiState .value.suggestions
270- && transfers.all { it.type != TransferType .TO_SPENDING }
269+ Suggestion .LIGHTNING_SETTING_UP in _uiState .value.suggestions &&
270+ transfers.all { it.type != TransferType .TO_SPENDING }
271271 },
272272 Suggestion .LIGHTNING_SETTING_UP .takeIf { transfers.any { it.type == TransferType .TO_SPENDING } },
273273 Suggestion .TRANSFER_CLOSING_CHANNEL .takeIf { transfers.any { it.type == TransferType .COOP_CLOSE } },
Original file line number Diff line number Diff line change @@ -504,7 +504,7 @@ class TransferViewModel @Inject constructor(
504504
505505 coopCloseRetryJob = viewModelScope.launch {
506506 val giveUpTime = startTimeMs + GIVE_UP_MS
507- // TODO cache TransferType: COOP_CLOSE, FORCE_CLOSE and TO_SAVINGS
507+ // TODO cache TransferType: COOP_CLOSE, FORCE_CLOSE and TO_SAVINGS
508508 while (isActive && System .currentTimeMillis() < giveUpTime) {
509509 Logger .info(" Trying coop close..." )
510510 val channelsFailedToCoopClose = closeChannels(channelsToClose)
You can’t perform that action at this time.
0 commit comments