mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-10 12:44:31 +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;
|
||||
|
||||
String confirms = "";
|
||||
if (txid != null) {
|
||||
confirms = " (${confirmations!}/${requiredConfirmations!})";
|
||||
if (txid != null &&
|
||||
confirmations != null &&
|
||||
requiredConfirmations != null) {
|
||||
confirms = " ($confirmations/$requiredConfirmations)";
|
||||
}
|
||||
|
||||
final NotificationModel model = NotificationModel(
|
||||
|
|
Loading…
Reference in a new issue