removing provider instantiation debugPrints

This commit is contained in:
ryleedavis 2022-12-12 14:43:38 -07:00
parent 5f095249cb
commit fccc1c4447
16 changed files with 0 additions and 25 deletions

View file

@ -11,7 +11,6 @@ final favoritesProvider =
(ref) {
if (kDebugMode) {
_count++;
debugPrint("favoritesProvider instantiation count: $_count");
}
return favorites;

View file

@ -7,8 +7,6 @@ final localeServiceChangeNotifierProvider =
ChangeNotifierProvider<LocaleService>((_) {
if (kDebugMode) {
_count++;
debugPrint(
"localeServiceChangeNotifierProvider instantiation count: $_count");
}
return LocaleService();

View file

@ -8,8 +8,6 @@ final nodeServiceChangeNotifierProvider =
ChangeNotifierProvider<NodeService>((ref) {
if (kDebugMode) {
_count++;
debugPrint(
"nodeServiceChangeNotifierProvider instantiation count: $_count");
}
return NodeService(secureStorageInterface: ref.read(secureStoreProvider));

View file

@ -11,7 +11,6 @@ final nonFavoritesProvider =
(ref) {
if (kDebugMode) {
_count++;
debugPrint("nonFavoritesProvider instantiation count: $_count");
}
return nonFavorites;

View file

@ -6,7 +6,6 @@ int _count = 0;
final prefsChangeNotifierProvider = ChangeNotifierProvider<Prefs>((_) {
if (kDebugMode) {
_count++;
debugPrint("prefsChangeNotifierProvider instantiation count: $_count");
}
return Prefs.instance;

View file

@ -9,8 +9,6 @@ final priceAnd24hChangeNotifierProvider =
ChangeNotifierProvider<PriceService>((ref) {
if (kDebugMode) {
_count++;
debugPrint(
"priceAnd24hChangeNotifierProvider instantiation count: $_count");
}
final currency =

View file

@ -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);

View file

@ -9,8 +9,6 @@ final walletsServiceChangeNotifierProvider =
ChangeNotifierProvider<WalletsService>((ref) {
if (kDebugMode) {
_count++;
debugPrint(
"walletsServiceChangeNotifierProvider instantiation count: $_count");
}
return WalletsService(

View file

@ -8,8 +8,6 @@ final addWalletSelectedCoinStateProvider =
StateProvider.autoDispose<Coin?>((_) {
if (kDebugMode) {
_count++;
debugPrint(
"addWalletSelectedCoinStateProvider instantiation count: $_count");
}
return null;

View file

@ -6,7 +6,6 @@ int _count = 0;
final checkBoxStateProvider = StateProvider.autoDispose<bool>((_) {
if (kDebugMode) {
_count++;
debugPrint("checkBoxStateProvider instantiation count: $_count");
}
return false;

View file

@ -6,7 +6,6 @@ int _count = 0;
final homeViewPageIndexStateProvider = StateProvider<int>((_) {
if (kDebugMode) {
_count++;
debugPrint("homeViewPageIndexStateProvider instantiation count: $_count");
}
return 0;

View file

@ -6,7 +6,6 @@ int _count = 0;
final previewTxButtonStateProvider = StateProvider.autoDispose<bool>((_) {
if (kDebugMode) {
_count++;
debugPrint("previewTxButtonStateProvider instantiation count: $_count");
}
return false;

View file

@ -6,8 +6,6 @@ int _count = 0;
final verifyMnemonicCorrectWordStateProvider = StateProvider<String>((_) {
if (kDebugMode) {
_count++;
debugPrint(
"verifyMnemonicCorrectWordStateProvider instantiation count: $_count");
}
return "";

View file

@ -6,8 +6,6 @@ int _count = 0;
final verifyMnemonicWordIndexStateProvider = StateProvider<int>((_) {
if (kDebugMode) {
_count++;
debugPrint(
"verifyMnemonicWordIndexStateProvider instantiation count: $_count");
}
return 0;

View file

@ -7,8 +7,6 @@ final verifyMnemonicSelectedWordStateProvider =
StateProvider.autoDispose<String>((_) {
if (kDebugMode) {
_count++;
debugPrint(
"verifyMnemonicSelectedWordStateProvider instantiation count: $_count");
}
return "";

View file

@ -8,8 +8,6 @@ final notesServiceChangeNotifierProvider =
ChangeNotifierProvider.family<NotesService, String>((_, walletId) {
if (kDebugMode) {
_count++;
debugPrint(
"notesServiceChangeNotifierProvider instantiation count: $_count");
}
return NotesService(walletId: walletId);