removed gradient on collection screen and made it only visible on when the selection overlay comes up

This commit is contained in:
ashilkn 2022-06-07 20:13:14 +05:30
parent 3349f1e794
commit 4f97170252
2 changed files with 4 additions and 2 deletions

View file

@ -6,7 +6,6 @@ import 'package:photos/events/files_updated_event.dart';
import 'package:photos/models/collection_items.dart';
import 'package:photos/models/galleryType.dart';
import 'package:photos/models/selected_files.dart';
import 'package:photos/ui/common/bottomShadow.dart';
import 'package:photos/ui/gallery.dart';
import 'package:photos/ui/gallery_app_bar_widget.dart';
import 'package:photos/ui/gallery_overlay_widget.dart';
@ -62,7 +61,6 @@ class CollectionPage extends StatelessWidget {
alignment: Alignment.bottomCenter,
children: [
gallery,
BottomShadowWidget(),
GalleryOverlayWidget(
overlayType,
_selectedFiles,

View file

@ -15,6 +15,7 @@ import 'package:photos/models/galleryType.dart';
import 'package:photos/models/magic_metadata.dart';
import 'package:photos/models/selected_files.dart';
import 'package:photos/services/collections_service.dart';
import 'package:photos/ui/common/bottomShadow.dart';
import 'package:photos/ui/common/onlyOuterShadow.dart';
import 'package:photos/ui/create_collection_page.dart';
import 'package:photos/utils/delete_file_util.dart';
@ -219,6 +220,9 @@ class _OverlayWidgetState extends State<OverlayWidget> {
),
],
),
BottomShadowWidget(
offsetDy: 40,
),
],
),
);