chore: Resort settings and add more description text
This commit is contained in:
parent
a7a8285a55
commit
f7c89ddf9e
4 changed files with 31 additions and 21 deletions
|
|
@ -33,7 +33,8 @@ class SettingsChatView extends StatelessWidget {
|
|||
),
|
||||
const Divider(),
|
||||
SettingsSwitchListTile.adaptive(
|
||||
title: L10n.of(context)!.renderRichContent,
|
||||
title: L10n.of(context)!.formattedMessages,
|
||||
subtitle: L10n.of(context)!.formattedMessagesDescription,
|
||||
onChanged: (b) => AppConfig.renderHtml = b,
|
||||
storeKey: SettingKeys.renderHtml,
|
||||
defaultValue: AppConfig.renderHtml,
|
||||
|
|
@ -64,18 +65,6 @@ class SettingsChatView extends StatelessWidget {
|
|||
defaultValue: AppConfig.autoplayImages,
|
||||
),
|
||||
const Divider(),
|
||||
SettingsSwitchListTile.adaptive(
|
||||
title: L10n.of(context)!.sendTypingNotifications,
|
||||
onChanged: (b) => AppConfig.sendTypingNotifications = b,
|
||||
storeKey: SettingKeys.sendTypingNotifications,
|
||||
defaultValue: AppConfig.sendTypingNotifications,
|
||||
),
|
||||
SettingsSwitchListTile.adaptive(
|
||||
title: L10n.of(context)!.sendReadReceipts,
|
||||
onChanged: (b) => AppConfig.sendPublicReadReceipts = b,
|
||||
storeKey: SettingKeys.sendPublicReadReceipts,
|
||||
defaultValue: AppConfig.sendPublicReadReceipts,
|
||||
),
|
||||
SettingsSwitchListTile.adaptive(
|
||||
title: L10n.of(context)!.sendOnEnter,
|
||||
onChanged: (b) => AppConfig.sendOnEnter = b,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue