mirror of
https://github.com/foss42/apidash.git
synced 2025-12-02 10:49:49 +08:00
Update history_providers.dart
This commit is contained in:
@@ -92,6 +92,8 @@ class HistoryMetaStateNotifier
|
|||||||
|
|
||||||
Future<void> clearAllHistory() async {
|
Future<void> clearAllHistory() async {
|
||||||
await hiveHandler.clearAllHistory();
|
await hiveHandler.clearAllHistory();
|
||||||
|
ref.read(selectedHistoryIdStateProvider.notifier).state = null;
|
||||||
|
ref.read(selectedHistoryRequestModelProvider.notifier).state = null;
|
||||||
loadHistoryMetas();
|
loadHistoryMetas();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user