π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Show import from gallery for internal users
Neeraj Gupta4056787721f7
diff --git a/auth/lib/ui/home/home_empty_state.dart b/auth/lib/ui/home/home_empty_state.dartindex 0ed6ebcda9..0b1eb3d903 100644--- a/auth/lib/ui/home/home_empty_state.dart+++ b/auth/lib/ui/home/home_empty_state.dart@@ -1,4 +1,5 @@import 'package:ente_auth/l10n/l10n.dart';+import 'package:ente_auth/services/auth_feature_flag.dart';import 'package:ente_auth/theme/ente_theme.dart';import 'package:ente_auth/ui/settings/data/import_page.dart';import 'package:ente_auth/utils/navigation_util.dart';@@ -52,7 +53,9 @@ class HomeEmptyStateWidget extends StatelessWidget {),),const SizedBox(height: 18),- if (PlatformUtil.isMobile())+ if (PlatformUtil.isMobile() &&+ FeatureFlagService.instance+ .isInternalUserOrDebugBuild())SizedBox(width: 400,child: OutlinedButton(diff --git a/auth/lib/ui/home_page.dart b/auth/lib/ui/home_page.dartindex 41092c1fd2..6456f3b593 100644--- a/auth/lib/ui/home_page.dart+++ b/auth/lib/ui/home_page.dart@@ -14,6 +14,7 @@ import 'package:ente_auth/models/code.dart';import 'package:ente_auth/onboarding/model/tag_enums.dart';import 'package:ente_auth/onboarding/view/common/tag_chip.dart';import 'package:ente_auth/onboarding/view/setup_enter_secret_key_page.dart';+import 'package:ente_auth/services/auth_feature_flag.dart';import 'package:ente_auth/services/preference_service.dart';import 'package:ente_auth/services/user_service.dart';import 'package:ente_auth/store/code_display_store.dart';@@ -750,7 +751,8 @@ class _HomePageState extends State<HomePage> {labelWidget: SpeedDialLabelWidget(context.l10n.scanAQrCode),onTap: _redirectToScannerPage,),- if (PlatformUtil.isMobile())+ if (PlatformUtil.isMobile() &&+ FeatureFlagService.instance.isInternalUserOrDebugBuild())SpeedDialChild(child: const Icon(Icons.image),foregroundColor: Theme.of(context).colorScheme.fabForegroundColor,