Skip to content

Commit 68ec482

Browse files
committed
chore: merge fixes
1 parent 13d044e commit 68ec482

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/src/main/java/to/bitkit/viewmodels/AppViewModel.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ class AppViewModel @Inject constructor(
341341
}
342342
}
343343

344-
private fun onAmountChange(amount: ULong) {
344+
private suspend fun onAmountChange(amount: ULong) {
345345
_sendUiState.update {
346346
it.copy(
347347
amount = amount,
@@ -395,7 +395,7 @@ class AppViewModel @Inject constructor(
395395
}
396396
}
397397

398-
private fun onPaymentMethodSwitch() {
398+
private suspend fun onPaymentMethodSwitch() {
399399
val nextPaymentMethod = when (_sendUiState.value.payMethod) {
400400
SendMethod.ONCHAIN -> SendMethod.LIGHTNING
401401
SendMethod.LIGHTNING -> SendMethod.ONCHAIN
@@ -442,7 +442,7 @@ class AppViewModel @Inject constructor(
442442
setSendEffect(SendEffect.NavigateToConfirm)
443443
}
444444

445-
private fun validateAmount(
445+
private suspend fun validateAmount(
446446
amount: ULong,
447447
payMethod: SendMethod = _sendUiState.value.payMethod,
448448
): Boolean {

0 commit comments

Comments
 (0)