From 28dc16a6e352ff8fb22dbf06890ce186b8e91e23 Mon Sep 17 00:00:00 2001 From: cogwheel0 <172976095+cogwheel0@users.noreply.github.com> Date: Wed, 1 Oct 2025 18:08:03 +0530 Subject: [PATCH] refactor: update folders provider to use keepAlive for improved state management - Changed the folders provider annotation to `@Riverpod(keepAlive: true)` to enhance state retention. - This update aligns with recent improvements in state management across the application, ensuring better performance and user experience. --- lib/core/providers/app_providers.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/providers/app_providers.dart b/lib/core/providers/app_providers.dart index 59825fc..09965bf 100644 --- a/lib/core/providers/app_providers.dart +++ b/lib/core/providers/app_providers.dart @@ -1564,7 +1564,7 @@ final webSearchAvailableProvider = Provider((ref) { }); // Folders provider -@riverpod +@Riverpod(keepAlive: true) Future> folders(Ref ref) async { // Protected: require authentication if (!ref.read(isAuthenticatedProvider2)) {