From 7dc6be622aaec2a1f1435737d6879757b53874f1 Mon Sep 17 00:00:00 2001 From: nyne Date: Thu, 22 May 2025 20:01:07 +0800 Subject: [PATCH] fix clearing history. --- lib/foundation/history.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/foundation/history.dart b/lib/foundation/history.dart index 3c45c89..412e0f5 100644 --- a/lib/foundation/history.dart +++ b/lib/foundation/history.dart @@ -320,6 +320,8 @@ class HistoryManager with ChangeNotifier { """, [id, type.value]); } } + updateCache(); + notifyListeners(); } void remove(String id, ComicType type) async {