fix: Cannot change send on enter on desktop

This commit is contained in:
krille-chan 2023-12-23 09:17:31 +01:00
commit 3d622b8918
No known key found for this signature in database
4 changed files with 6 additions and 6 deletions

View file

@ -74,7 +74,7 @@ class SettingsChatView extends StatelessWidget {
title: L10n.of(context)!.sendOnEnter,
onChanged: (b) => AppConfig.sendOnEnter = b,
storeKey: SettingKeys.sendOnEnter,
defaultValue: AppConfig.sendOnEnter,
defaultValue: AppConfig.sendOnEnter ?? !PlatformInfos.isMobile,
),
SettingsSwitchListTile.adaptive(
title: L10n.of(context)!.experimentalVideoCalls,