mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
removing provider instantiation debugPrints
This commit is contained in:
parent
5f095249cb
commit
fccc1c4447
16 changed files with 0 additions and 25 deletions
|
@ -11,7 +11,6 @@ final favoritesProvider =
|
|||
(ref) {
|
||||
if (kDebugMode) {
|
||||
_count++;
|
||||
debugPrint("favoritesProvider instantiation count: $_count");
|
||||
}
|
||||
|
||||
return favorites;
|
||||
|
|
|
@ -7,8 +7,6 @@ final localeServiceChangeNotifierProvider =
|
|||
ChangeNotifierProvider<LocaleService>((_) {
|
||||
if (kDebugMode) {
|
||||
_count++;
|
||||
debugPrint(
|
||||
"localeServiceChangeNotifierProvider instantiation count: $_count");
|
||||
}
|
||||
|
||||
return LocaleService();
|
||||
|
|
|
@ -8,8 +8,6 @@ final nodeServiceChangeNotifierProvider =
|
|||
ChangeNotifierProvider<NodeService>((ref) {
|
||||
if (kDebugMode) {
|
||||
_count++;
|
||||
debugPrint(
|
||||
"nodeServiceChangeNotifierProvider instantiation count: $_count");
|
||||
}
|
||||
|
||||
return NodeService(secureStorageInterface: ref.read(secureStoreProvider));
|
||||
|
|
|
@ -11,7 +11,6 @@ final nonFavoritesProvider =
|
|||
(ref) {
|
||||
if (kDebugMode) {
|
||||
_count++;
|
||||
debugPrint("nonFavoritesProvider instantiation count: $_count");
|
||||
}
|
||||
|
||||
return nonFavorites;
|
||||
|
|
|
@ -6,7 +6,6 @@ int _count = 0;
|
|||
final prefsChangeNotifierProvider = ChangeNotifierProvider<Prefs>((_) {
|
||||
if (kDebugMode) {
|
||||
_count++;
|
||||
debugPrint("prefsChangeNotifierProvider instantiation count: $_count");
|
||||
}
|
||||
|
||||
return Prefs.instance;
|
||||
|
|
|
@ -9,8 +9,6 @@ final priceAnd24hChangeNotifierProvider =
|
|||
ChangeNotifierProvider<PriceService>((ref) {
|
||||
if (kDebugMode) {
|
||||
_count++;
|
||||
debugPrint(
|
||||
"priceAnd24hChangeNotifierProvider instantiation count: $_count");
|
||||
}
|
||||
|
||||
final currency =
|
||||
|
|
|
@ -9,7 +9,6 @@ int _count = 0;
|
|||
final walletsChangeNotifierProvider = ChangeNotifierProvider<Wallets>((ref) {
|
||||
if (kDebugMode) {
|
||||
_count++;
|
||||
debugPrint("walletsChangeNotifierProvider instantiation count: $_count");
|
||||
}
|
||||
|
||||
final walletsService = ref.read(walletsServiceChangeNotifierProvider);
|
||||
|
|
|
@ -9,8 +9,6 @@ final walletsServiceChangeNotifierProvider =
|
|||
ChangeNotifierProvider<WalletsService>((ref) {
|
||||
if (kDebugMode) {
|
||||
_count++;
|
||||
debugPrint(
|
||||
"walletsServiceChangeNotifierProvider instantiation count: $_count");
|
||||
}
|
||||
|
||||
return WalletsService(
|
||||
|
|
|
@ -8,8 +8,6 @@ final addWalletSelectedCoinStateProvider =
|
|||
StateProvider.autoDispose<Coin?>((_) {
|
||||
if (kDebugMode) {
|
||||
_count++;
|
||||
debugPrint(
|
||||
"addWalletSelectedCoinStateProvider instantiation count: $_count");
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
|
@ -6,7 +6,6 @@ int _count = 0;
|
|||
final checkBoxStateProvider = StateProvider.autoDispose<bool>((_) {
|
||||
if (kDebugMode) {
|
||||
_count++;
|
||||
debugPrint("checkBoxStateProvider instantiation count: $_count");
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
@ -6,7 +6,6 @@ int _count = 0;
|
|||
final homeViewPageIndexStateProvider = StateProvider<int>((_) {
|
||||
if (kDebugMode) {
|
||||
_count++;
|
||||
debugPrint("homeViewPageIndexStateProvider instantiation count: $_count");
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -6,7 +6,6 @@ int _count = 0;
|
|||
final previewTxButtonStateProvider = StateProvider.autoDispose<bool>((_) {
|
||||
if (kDebugMode) {
|
||||
_count++;
|
||||
debugPrint("previewTxButtonStateProvider instantiation count: $_count");
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
|
@ -6,8 +6,6 @@ int _count = 0;
|
|||
final verifyMnemonicCorrectWordStateProvider = StateProvider<String>((_) {
|
||||
if (kDebugMode) {
|
||||
_count++;
|
||||
debugPrint(
|
||||
"verifyMnemonicCorrectWordStateProvider instantiation count: $_count");
|
||||
}
|
||||
|
||||
return "";
|
||||
|
|
|
@ -6,8 +6,6 @@ int _count = 0;
|
|||
final verifyMnemonicWordIndexStateProvider = StateProvider<int>((_) {
|
||||
if (kDebugMode) {
|
||||
_count++;
|
||||
debugPrint(
|
||||
"verifyMnemonicWordIndexStateProvider instantiation count: $_count");
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
|
@ -7,8 +7,6 @@ final verifyMnemonicSelectedWordStateProvider =
|
|||
StateProvider.autoDispose<String>((_) {
|
||||
if (kDebugMode) {
|
||||
_count++;
|
||||
debugPrint(
|
||||
"verifyMnemonicSelectedWordStateProvider instantiation count: $_count");
|
||||
}
|
||||
|
||||
return "";
|
||||
|
|
|
@ -8,8 +8,6 @@ final notesServiceChangeNotifierProvider =
|
|||
ChangeNotifierProvider.family<NotesService, String>((_, walletId) {
|
||||
if (kDebugMode) {
|
||||
_count++;
|
||||
debugPrint(
|
||||
"notesServiceChangeNotifierProvider instantiation count: $_count");
|
||||
}
|
||||
|
||||
return NotesService(walletId: walletId);
|
||||
|
|
Loading…
Reference in a new issue