From 9dcb3767fbfe1c9b3e1f3d0424fe278244f7b3ff Mon Sep 17 00:00:00 2001 From: Yassin Date: Thu, 9 Jan 2025 11:03:22 +0200 Subject: [PATCH] fix the formatting --- .../quran/reading/auto_reading/auto_reading_notifier.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/src/state_management/quran/reading/auto_reading/auto_reading_notifier.dart b/lib/src/state_management/quran/reading/auto_reading/auto_reading_notifier.dart index bc33c9be..fa902e8c 100644 --- a/lib/src/state_management/quran/reading/auto_reading/auto_reading_notifier.dart +++ b/lib/src/state_management/quran/reading/auto_reading/auto_reading_notifier.dart @@ -88,7 +88,6 @@ class AutoScrollNotifier extends AutoDisposeNotifier { await Future.delayed(Duration(milliseconds: 100)); _startScrolling(); } catch (e, stackTrace) { - // Fallback state reset state = state.copyWith( isLoading: false, @@ -160,8 +159,7 @@ class AutoScrollNotifier extends AutoDisposeNotifier { timer.cancel(); state = state.copyWith(isPlaying: false); } - } else { - } + } else {} }); }