We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80f676b commit d753a7fCopy full SHA for d753a7f
lib/providers/history_providers.dart
@@ -92,6 +92,8 @@ class HistoryMetaStateNotifier
92
93
Future<void> clearAllHistory() async {
94
await hiveHandler.clearAllHistory();
95
+ ref.read(selectedHistoryIdStateProvider.notifier).state = null;
96
+ ref.read(selectedHistoryRequestModelProvider.notifier).state = null;
97
loadHistoryMetas();
98
}
99
0 commit comments