Skip to content

Commit c0657e4

Browse files
committed
feat: error message
1 parent dd329a1 commit c0657e4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,11 @@ class AppViewModel @Inject constructor(
474474
handleLightningInvoice(invoice = invoice, uri = uri)
475475
} else {
476476
Logger.error("Error decoding LNURL pay. scan: $scan", context = "AppViewModel")
477+
toast(
478+
type = Toast.ToastType.ERROR,
479+
title = context.getString(R.string.other__scan_err_decoding),
480+
description = context.getString(R.string.other__scan__error__expired),
481+
)
477482
}
478483
}.onFailure { e ->
479484
Logger.error("Error decoding LNURL pay", e = e, context = "AppViewModel")

0 commit comments

Comments
 (0)