Merge pull request #1159 from MrSpoony/feat/configure-reply-swipe-direction

feat: add option to configure reply swipe direction
This commit is contained in:
Krille-chan 2024-06-08 06:37:24 +02:00 committed by GitHub
commit cc82841124
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 18 additions and 1 deletions

View file

@ -417,6 +417,10 @@ class MatrixState extends State<Matrix> with WidgetsBindingObserver {
AppConfig.renderHtml =
store.getBool(SettingKeys.renderHtml) ?? AppConfig.renderHtml;
AppConfig.swipeRightToLeftToReply =
store.getBool(SettingKeys.swipeRightToLeftToReply) ??
AppConfig.swipeRightToLeftToReply;
AppConfig.hideRedactedEvents =
store.getBool(SettingKeys.hideRedactedEvents) ??
AppConfig.hideRedactedEvents;