π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Refine selection sheet surfaces
ashilkn8b4672930906
diff --git a/mobile/apps/photos/lib/ui/components/bottom_action_bar/album_bottom_action_bar_widget.dart b/mobile/apps/photos/lib/ui/components/bottom_action_bar/album_bottom_action_bar_widget.dartindex 32afe0edc2..7d058876ac 100644--- a/mobile/apps/photos/lib/ui/components/bottom_action_bar/album_bottom_action_bar_widget.dart+++ b/mobile/apps/photos/lib/ui/components/bottom_action_bar/album_bottom_action_bar_widget.dart@@ -31,7 +31,10 @@ class AlbumBottomActionBarWidget extends StatelessWidget {: 0;return Container(decoration: BoxDecoration(- color: backgroundColor ?? colors.fillLight,+ color: backgroundColor ?? colors.backgroundBase,+ border: Border(+ top: BorderSide(color: colors.strokeDark),+ ),borderRadius: const BorderRadius.only(topLeft: Radius.circular(20),topRight: Radius.circular(20),diff --git a/mobile/apps/photos/lib/ui/components/bottom_action_bar/bottom_action_bar_widget.dart b/mobile/apps/photos/lib/ui/components/bottom_action_bar/bottom_action_bar_widget.dartindex f3d8117d7c..7dcacce93c 100644--- a/mobile/apps/photos/lib/ui/components/bottom_action_bar/bottom_action_bar_widget.dart+++ b/mobile/apps/photos/lib/ui/components/bottom_action_bar/bottom_action_bar_widget.dart@@ -39,7 +39,10 @@ class BottomActionBarWidget extends StatelessWidget {: 0;return Container(decoration: BoxDecoration(- color: backgroundColor ?? colors.fillLight,+ color: backgroundColor ?? colors.backgroundBase,+ border: Border(+ top: BorderSide(color: colors.strokeDark),+ ),borderRadius: const BorderRadius.only(topLeft: Radius.circular(20),topRight: Radius.circular(20),diff --git a/mobile/apps/photos/lib/ui/components/bottom_action_bar/people_bottom_action_bar_widget.dart b/mobile/apps/photos/lib/ui/components/bottom_action_bar/people_bottom_action_bar_widget.dartindex 2e62ac3784..9a2250d7ae 100644--- a/mobile/apps/photos/lib/ui/components/bottom_action_bar/people_bottom_action_bar_widget.dart+++ b/mobile/apps/photos/lib/ui/components/bottom_action_bar/people_bottom_action_bar_widget.dart@@ -28,7 +28,10 @@ class PeopleBottomActionBarWidget extends StatelessWidget {: 0;return Container(decoration: BoxDecoration(- color: backgroundColor ?? colors.fillLight,+ color: backgroundColor ?? colors.backgroundBase,+ border: Border(+ top: BorderSide(color: colors.strokeDark),+ ),borderRadius: const BorderRadius.only(topLeft: Radius.circular(20),topRight: Radius.circular(20),diff --git a/mobile/apps/photos/lib/ui/viewer/actions/album_selection_overlay_bar.dart b/mobile/apps/photos/lib/ui/viewer/actions/album_selection_overlay_bar.dartindex 1a5787573b..95ec853cf0 100644--- a/mobile/apps/photos/lib/ui/viewer/actions/album_selection_overlay_bar.dart+++ b/mobile/apps/photos/lib/ui/viewer/actions/album_selection_overlay_bar.dart@@ -3,7 +3,6 @@ import 'package:flutter/material.dart';import "package:photos/generated/l10n.dart";import "package:photos/models/collection/collection.dart";import "package:photos/models/selected_albums.dart";-import "package:photos/theme/effects.dart";import "package:photos/ui/collections/collection_list_page.dart";import "package:photos/ui/components/bottom_action_bar/album_bottom_action_bar_widget.dart";@@ -72,18 +71,15 @@ class _AlbumSelectionOverlayBarState extends State<AlbumSelectionOverlayBar> {),),const SizedBox(height: 8),- Container(- decoration: BoxDecoration(boxShadow: shadowFloatFaintLight),- child: AlbumBottomActionBarWidget(- widget.selectedAlbums,- widget.sectionType,- onCancel: () {- if (widget.selectedAlbums.albums.isNotEmpty) {- widget.selectedAlbums.clearAll();- }- },- backgroundColor: widget.backgroundColor,- ),+ AlbumBottomActionBarWidget(+ widget.selectedAlbums,+ widget.sectionType,+ onCancel: () {+ if (widget.selectedAlbums.albums.isNotEmpty) {+ widget.selectedAlbums.clearAll();+ }+ },+ backgroundColor: widget.backgroundColor,),],),@@ -138,15 +134,9 @@ class _SelectAllAlbumsButtonState extends State<SelectAllAlbumsButton> {child: Container(padding: const EdgeInsets.all(12),decoration: BoxDecoration(- color: widget.backgroundColor ?? colors.fillLight,+ color: widget.backgroundColor ?? colors.backgroundBase,+ border: Border.all(color: colors.strokeDark),borderRadius: BorderRadius.circular(32),- boxShadow: [- BoxShadow(- color: Colors.black.withValues(alpha: 0.1),- blurRadius: 4,- offset: const Offset(0, -1),- ),- ],),child: Row(mainAxisAlignment: MainAxisAlignment.end,diff --git a/mobile/apps/photos/lib/ui/viewer/actions/file_selection_overlay_bar.dart b/mobile/apps/photos/lib/ui/viewer/actions/file_selection_overlay_bar.dartindex 53e7f66f58..0fd5d479a3 100644--- a/mobile/apps/photos/lib/ui/viewer/actions/file_selection_overlay_bar.dart+++ b/mobile/apps/photos/lib/ui/viewer/actions/file_selection_overlay_bar.dart@@ -11,7 +11,6 @@ import "package:photos/models/search/hierarchical/face_filter.dart";import "package:photos/models/search/hierarchical/hierarchical_search_filter.dart";import "package:photos/models/search/hierarchical/only_them_filter.dart";import 'package:photos/models/selected_files.dart';-import "package:photos/theme/effects.dart";import 'package:photos/ui/components/bottom_action_bar/bottom_action_bar_widget.dart';import "package:photos/ui/viewer/gallery/state/boundary_reporter_mixin.dart";import "package:photos/ui/viewer/gallery/state/gallery_files_inherited_widget.dart";@@ -157,23 +156,18 @@ class _FileSelectionOverlayBarState extends State<FileSelectionOverlayBar>),),const SizedBox(height: 8),- Container(- decoration: BoxDecoration(- boxShadow: shadowFloatFaintLight,- ),- child: BottomActionBarWidget(- selectedFiles: widget.selectedFiles,- galleryType: _galleryType,- collection: widget.collection,- person: widget.person,- clusterID: widget.clusterID,- onCancel: () {- if (widget.selectedFiles.files.isNotEmpty) {- widget.selectedFiles.clearAll();- }- },- backgroundColor: widget.backgroundColor,- ),+ BottomActionBarWidget(+ selectedFiles: widget.selectedFiles,+ galleryType: _galleryType,+ collection: widget.collection,+ person: widget.person,+ clusterID: widget.clusterID,+ onCancel: () {+ if (widget.selectedFiles.files.isNotEmpty) {+ widget.selectedFiles.clearAll();+ }+ },+ backgroundColor: widget.backgroundColor,),],),@@ -292,15 +286,9 @@ class _SelectAllButtonState extends State<SelectAllButton> {child: Container(padding: const EdgeInsets.all(12),decoration: BoxDecoration(- color: widget.backgroundColor ?? colors.fillLight,+ color: widget.backgroundColor ?? colors.backgroundBase,+ border: Border.all(color: colors.strokeDark),borderRadius: BorderRadius.circular(32),- boxShadow: [- BoxShadow(- color: Colors.black.withValues(alpha: 0.1),- blurRadius: 4,- offset: const Offset(0, -1),- ),- ],),child: Row(mainAxisAlignment: MainAxisAlignment.end,