π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Show hint that double tapping on hidden code makes it visible (#362)
Neeraj Gupta0afd0d63b372
diff --git a/lib/l10n/arb/app_en.arb b/lib/l10n/arb/app_en.arbindex eeb4e81b0e..26349b45b6 100644--- a/lib/l10n/arb/app_en.arb+++ b/lib/l10n/arb/app_en.arb@@ -334,6 +334,7 @@"offlineModeWarning": "You have chosen to proceed without backups. Please take manual backups to make sure your codes are safe.","showLargeIcons": "Show large icons","shouldHideCode": "Hide codes",+ "doubleTapToViewHiddenCode" : "You can double tap on an entry to view code","focusOnSearchBar": "Focus search on app start","confirmUpdatingkey": "Are you sure you want to update the secret key?","minimizeAppOnCopy": "Minimize app on copy",diff --git a/lib/ui/settings/general_section_widget.dart b/lib/ui/settings/general_section_widget.dartindex 3810b49d7f..5026166f6d 100644--- a/lib/ui/settings/general_section_widget.dart+++ b/lib/ui/settings/general_section_widget.dart@@ -13,6 +13,7 @@ import 'package:ente_auth/ui/components/toggle_switch_widget.dart';import 'package:ente_auth/ui/settings/common_settings.dart';import 'package:ente_auth/ui/settings/language_picker.dart';import 'package:ente_auth/utils/navigation_util.dart';+import 'package:ente_auth/utils/toast_util.dart';import 'package:flutter/material.dart';class AdvancedSectionWidget extends StatefulWidget {@@ -86,6 +87,9 @@ class _AdvancedSectionWidgetState extends State<AdvancedSectionWidget> {await PreferenceService.instance.setHideCodes(!PreferenceService.instance.shouldHideCodes(),);+ if(PreferenceService.instance.shouldHideCodes()) {+ showToast(context, context.l10n.doubleTapToViewHiddenCode);+ }setState(() {});},),