Merge pull request #412 from ente-io/hide_others_stuff

Hide Add/Remove/Move options from incoming album
This commit is contained in:
Neeraj Gupta 2022-07-25 15:47:00 +05:30 committed by GitHub
commit b5088daa1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 25 additions and 26 deletions

View file

@ -222,7 +222,8 @@ class _FileInfoWidgetState extends State<FileInfoWidget> {
.name
: file.deviceFolder,
),
)),
),
),
const DividerWithPadding(left: 70, right: 20),
(file.uploadedFileID != null && file.updationTime != null)
? ListTile(

View file

@ -14,14 +14,12 @@ class CollectionPage extends StatelessWidget {
final CollectionWithThumbnail c;
final String tagPrefix;
final GalleryType appBarType;
final GalleryType overlayType;
final _selectedFiles = SelectedFiles();
CollectionPage(
this.c, {
this.tagPrefix = "collection",
this.appBarType = GalleryType.ownedCollection,
this.overlayType = GalleryType.ownedCollection,
Key key,
}) : super(key: key);
@ -67,7 +65,7 @@ class CollectionPage extends StatelessWidget {
children: [
gallery,
GalleryOverlayWidget(
overlayType,
appBarType,
_selectedFiles,
collection: c.collection,
),