Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

fix setting no app lock found

AmanRajSinghMouryaebdad65cf562
diff --git a/mobile/apps/locker/lib/ui/settings/pages/security_settings_page.dart b/mobile/apps/locker/lib/ui/settings/pages/security_settings_page.dart
index dfd19464eb..35091e87be 100644
--- a/mobile/apps/locker/lib/ui/settings/pages/security_settings_page.dart
+++ b/mobile/apps/locker/lib/ui/settings/pages/security_settings_page.dart
@@ -11,7 +11,6 @@ import "package:ente_lock_screen/local_authentication_service.dart";
import "package:ente_lock_screen/lock_screen_settings.dart";
import "package:ente_lock_screen/ui/lock_screen_options.dart";
import "package:ente_strings/ente_strings.dart";
-import "package:ente_utils/email_util.dart";
import "package:flutter/material.dart";
import "package:hugeicons/hugeicons.dart";
import "package:locker/services/configuration.dart";
@@ -164,13 +163,8 @@ class _SecuritySettingsPageState extends State<SecuritySettingsPage> {
illustration: LockerBottomSheetIllustration.warningGrey,
actions: [
ButtonComponent(
- label: context.strings.contactSupport,
- onTap: () async {
- await sendLogs(context, "[email protected]", postShare: () {});
- if (sheetContext.mounted) {
- Navigator.of(sheetContext).pop();
- }
- },
+ label: l10n.ok,
+ onTap: () => Navigator.of(sheetContext).pop(),
),
],
),