Skip to content

Commit 0604850

Browse files
committed
added a onLoanCreated callback
1 parent 89a94c9 commit 0604850

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

feature/loan/src/commonMain/kotlin/com/mifos/feature/loan/loanReject/RejectLoanViewModel.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ internal class RejectLoanViewModel(
8383
}
8484

8585
private fun onCancelClicked() {
86-
// Ignore cancel/back while a reject submission is in flight; the in-flight
87-
// call must either succeed or surface its error before the user can leave.
8886
if (state.dialogState is RejectLoanState.DialogState.Loading) return
8987

9088
if (isDirty()) {

0 commit comments

Comments
 (0)