[mob][photos] Keep select all feature behind feature flag

This commit is contained in:
ashilkn
2024-06-19 12:28:47 +05:30
parent d7a1bf3fcc
commit 46b9aa259c

View File

@@ -3,6 +3,7 @@ import "package:photos/face/model/person.dart";
import 'package:photos/models/collection/collection.dart';
import 'package:photos/models/gallery_type.dart';
import 'package:photos/models/selected_files.dart';
import "package:photos/service_locator.dart";
import "package:photos/theme/effects.dart";
import "package:photos/theme/ente_theme.dart";
import 'package:photos/ui/components/bottom_action_bar/bottom_action_bar_widget.dart';
@@ -68,11 +69,15 @@ class _FileSelectionOverlayBarState extends State<FileSelectionOverlayBar> {
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.end,
children: [
Padding(
padding: const EdgeInsets.only(right: 4),
child: SelectAllButton(backgroundColor: widget.backgroundColor),
),
const SizedBox(height: 8),
flagService.internalUser
? Padding(
padding: const EdgeInsets.only(right: 4),
child: SelectAllButton(
backgroundColor: widget.backgroundColor,
),
)
: const SizedBox.shrink(),
if (flagService.internalUser) const SizedBox(height: 8),
Container(
decoration: BoxDecoration(
boxShadow: shadowFloatFaintLight,