Update history_providers.dart

This commit is contained in:
Ashita Prasad
2025-02-16 11:18:56 +05:30
parent 80f676bbc8
commit d753a7f83d

View File

@@ -92,6 +92,8 @@ class HistoryMetaStateNotifier
Future<void> clearAllHistory() async {
await hiveHandler.clearAllHistory();
ref.read(selectedHistoryIdStateProvider.notifier).state = null;
ref.read(selectedHistoryRequestModelProvider.notifier).state = null;
loadHistoryMetas();
}
}