fix: Multiple related store things
This commit is contained in:
parent
453e09a34c
commit
c58df5c99c
8 changed files with 37 additions and 241 deletions
|
|
@ -185,7 +185,7 @@ class _SettingsState extends State<Settings> {
|
|||
|
||||
void deleteWallpaperAction(BuildContext context) async {
|
||||
Matrix.of(context).wallpaper = null;
|
||||
await Matrix.of(context).store.setItem('chat.fluffy.wallpaper', null);
|
||||
await Matrix.of(context).store.deleteItem('chat.fluffy.wallpaper');
|
||||
setState(() => null);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue