mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
[mob][photos] Fix minor issues with selection in in-app link view
This commit is contained in:
parent
8541eaee60
commit
d514a8ea40
@ -44,7 +44,10 @@ class GalleryFileWidget extends StatelessWidget {
|
||||
CollectionsService.instance.isSharedPublicLink(file.collectionID!);
|
||||
}
|
||||
Color selectionColor = Colors.white;
|
||||
if (isFileSelected && file.isUploaded && file.ownerID != currentUserID) {
|
||||
if (isFileSelected &&
|
||||
file.isUploaded &&
|
||||
file.ownerID != currentUserID &&
|
||||
!fileIsFromSharedPublicLink) {
|
||||
final avatarColors = getEnteColorScheme(context).avatarColors;
|
||||
selectionColor =
|
||||
avatarColors[(file.ownerID!).remainder(avatarColors.length)];
|
||||
|
@ -65,7 +65,6 @@ class SharedPublicCollectionPage extends StatelessWidget {
|
||||
initialFiles: initialFiles,
|
||||
albumName: c.collection.displayName,
|
||||
sortAsyncFn: () => c.collection.pubMagicMetadata.asc ?? false,
|
||||
showSelectAllByDefault: galleryType != GalleryType.sharedPublicCollection,
|
||||
);
|
||||
|
||||
return GalleryFilesState(
|
||||
|
Loading…
x
Reference in New Issue
Block a user