diff --git a/auth/lib/ui/home/home_empty_state.dart b/auth/lib/ui/home/home_empty_state.dart index 0ed6ebcda93..0b1eb3d9035 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.dart index 41092c1fd2e..6456f3b593d 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 { 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, diff --git a/auth/pubspec.yaml b/auth/pubspec.yaml index f430992de35..5222d592581 100644 --- a/auth/pubspec.yaml +++ b/auth/pubspec.yaml @@ -1,7 +1,7 @@ name: ente_auth description: ente two-factor authenticator -version: 4.2.3+423 +version: 4.2.4+424 publish_to: none environment: