Fix memory pref not removing key correctly

This commit is contained in:
Ming Ming 2024-05-28 21:49:19 +08:00
parent 8c29f22124
commit ef50653b3c

View file

@ -33,7 +33,7 @@ class PrefMemoryProvider extends PrefProvider {
@override
Future<bool> remove(PrefKeyInterface key) async {
_data.remove(key);
_data.remove(key.toStringKey());
return true;
}