mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-24 06:48:38 +02:00
Fix nullability of selected provider (#562)
Remove un-necessary null operators
This commit is contained in:
@@ -6,7 +6,6 @@ import 'package:cake_wallet/entities/fiat_currency.dart';
|
||||
import 'package:cw_core/wallet_type.dart';
|
||||
import 'package:cake_wallet/store/settings_store.dart';
|
||||
import 'package:cake_wallet/view_model/buy/buy_item.dart';
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:hive/hive.dart';
|
||||
import 'package:cake_wallet/buy/order.dart';
|
||||
import 'package:cake_wallet/store/dashboard/orders_store.dart';
|
||||
@@ -103,7 +102,7 @@ abstract class BuyViewModelBase with Store {
|
||||
print(e.toString());
|
||||
}
|
||||
|
||||
if (isMoonPayEnabled ?? false) {
|
||||
if (isMoonPayEnabled) {
|
||||
_providerList.add(MoonPayBuyProvider(wallet: wallet));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user