mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 02:39:19 +08:00
Update history_providers.dart
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user