fix: Add forgotten sendOnEnter

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

View file

@ -50,6 +50,12 @@ class SettingsChatView extends StatelessWidget {
storeKey: SettingKeys.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)
SettingsSwitchListTile.adaptive(
title: L10n.of(context)!.experimentalVideoCalls,