From ef50653b3c40a70ee4ebea0aebeb347dcbdc2c96 Mon Sep 17 00:00:00 2001 From: Ming Ming Date: Tue, 28 May 2024 21:49:19 +0800 Subject: [PATCH] Fix memory pref not removing key correctly --- app/lib/entity/pref/provider/memory.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/entity/pref/provider/memory.dart b/app/lib/entity/pref/provider/memory.dart index aff1fad7..c45c8ed4 100644 --- a/app/lib/entity/pref/provider/memory.dart +++ b/app/lib/entity/pref/provider/memory.dart @@ -33,7 +33,7 @@ class PrefMemoryProvider extends PrefProvider { @override Future remove(PrefKeyInterface key) async { - _data.remove(key); + _data.remove(key.toStringKey()); return true; }