mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-10 20:54:33 +00:00
null error bandaid
This commit is contained in:
parent
128fa9db6c
commit
04658f8eef
1 changed files with 4 additions and 2 deletions
|
@ -77,8 +77,10 @@ class NotificationApi {
|
||||||
final id = prefs.currentNotificationId;
|
final id = prefs.currentNotificationId;
|
||||||
|
|
||||||
String confirms = "";
|
String confirms = "";
|
||||||
if (txid != null) {
|
if (txid != null &&
|
||||||
confirms = " (${confirmations!}/${requiredConfirmations!})";
|
confirmations != null &&
|
||||||
|
requiredConfirmations != null) {
|
||||||
|
confirms = " ($confirmations/$requiredConfirmations)";
|
||||||
}
|
}
|
||||||
|
|
||||||
final NotificationModel model = NotificationModel(
|
final NotificationModel model = NotificationModel(
|
||||||
|
|
Loading…
Reference in a new issue