feat: option to not send typing notifications

This commit is contained in:
Bnyro 2023-07-27 18:15:50 +02:00
commit 57b026b913
6 changed files with 36 additions and 13 deletions

View file

@ -66,6 +66,12 @@ 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)!.sendOnEnter,
onChanged: (b) => AppConfig.sendOnEnter = b,