fix: swipe settings were stored in wrong place

Ref #15
This commit is contained in:
Inex Code 2020-10-29 10:03:21 +00:00
parent e0fd7ecd3b
commit 36891a196b
1 changed files with 2 additions and 2 deletions

View File

@ -40,13 +40,13 @@ class _ChatSettingsState extends State<ChatSettings> {
Matrix.of(context).swipeToEndAction = action;
await Matrix.of(context)
.store
.setItem('chat.fluffy.swipeToEndAction', action);
.setItem('dev.inex.furrychat.swipeToEndAction', action);
setState(() => null);
} else {
Matrix.of(context).swipeToStartAction = action;
await Matrix.of(context)
.store
.setItem('chat.fluffy.swipeToStartAction', action);
.setItem('dev.inex.furrychat.swipeToStartAction', action);
setState(() => null);
}
}