feat: Implement private read receipts

This commit is contained in:
krille-chan 2024-01-20 09:13:53 +01:00
commit 8ec3497b54
No known key found for this signature in database
7 changed files with 26 additions and 3 deletions

View file

@ -70,6 +70,12 @@ class SettingsChatView extends StatelessWidget {
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,