From 16833584f6f5a8c2eb91ea4585a9d18d4dc683e6 Mon Sep 17 00:00:00 2001 From: "mr.mojtaba" Date: Mon, 21 Jul 2025 09:39:58 +0330 Subject: [PATCH] chore : delete unused log and fix test --- lib/infrastructure/service/app_navigation_observer.dart | 6 ++---- .../core/test/infrastructure/local/hive_local_storage.dart | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/infrastructure/service/app_navigation_observer.dart b/lib/infrastructure/service/app_navigation_observer.dart index 068fe2d..74cec1e 100644 --- a/lib/infrastructure/service/app_navigation_observer.dart +++ b/lib/infrastructure/service/app_navigation_observer.dart @@ -18,14 +18,13 @@ class CustomNavigationObserver extends NavigatorObserver { _isWorkDone = true; await setupInjection(); } - iLog('didPush'); } @override void didReplace({Route? newRoute, Route? oldRoute}) { super.didReplace(newRoute: newRoute, oldRoute: oldRoute); - iLog('didReplace'); + } @@ -33,12 +32,11 @@ class CustomNavigationObserver extends NavigatorObserver { void didPop(Route route, Route? previousRoute) { super.didPop(route, previousRoute); - iLog('didPop'); } @override void didRemove(Route route, Route? previousRoute) { super.didRemove(route, previousRoute); - iLog('didRemove'); + } } diff --git a/packages/core/test/infrastructure/local/hive_local_storage.dart b/packages/core/test/infrastructure/local/hive_local_storage.dart index 37e2dd4..82fcc1b 100644 --- a/packages/core/test/infrastructure/local/hive_local_storage.dart +++ b/packages/core/test/infrastructure/local/hive_local_storage.dart @@ -95,7 +95,7 @@ class HiveLocalStorage implements ILocalStorage { } @override - T? readBox({required String boxName}) { + List? readBox({required String boxName}) { // TODO: implement readBox throw UnimplementedError(); }