fix: Add forgotten sendOnEnter

This commit is contained in:
Christian Pauly 2022-03-20 17:38:13 +01:00
parent 05459b6aae
commit d1f59b6c23
2 changed files with 7 additions and 0 deletions

View File

@ -33,6 +33,7 @@
- fix: SSO on Android 12 (Krille Fear) - fix: SSO on Android 12 (Krille Fear)
- fix: Send read receipts on all taps (Krille Fear) - fix: Send read receipts on all taps (Krille Fear)
- fix: make fluffy usable at 720 px wide (Raatty) - fix: make fluffy usable at 720 px wide (Raatty)
- fix: Add forgotten sendOnEnter (Krille Fear)
- refactor: Switch to just audio for playing sounds (Krille Fear) - refactor: Switch to just audio for playing sounds (Krille Fear)
## v1.3.0 - 2022-02-12 ## v1.3.0 - 2022-02-12

View File

@ -50,6 +50,12 @@ class SettingsChatView extends StatelessWidget {
storeKey: SettingKeys.autoplayImages, storeKey: SettingKeys.autoplayImages,
defaultValue: AppConfig.autoplayImages, defaultValue: AppConfig.autoplayImages,
), ),
SettingsSwitchListTile.adaptive(
title: L10n.of(context)!.sendOnEnter,
onChanged: (b) => AppConfig.sendOnEnter = b,
storeKey: SettingKeys.sendOnEnter,
defaultValue: AppConfig.sendOnEnter,
),
if (Matrix.of(context).webrtcIsSupported) if (Matrix.of(context).webrtcIsSupported)
SettingsSwitchListTile.adaptive( SettingsSwitchListTile.adaptive(
title: L10n.of(context)!.experimentalVideoCalls, title: L10n.of(context)!.experimentalVideoCalls,