A minor fix and some additions for ref

This commit is contained in:
ashilkn 2023-08-19 11:04:23 +05:30
parent b05c693651
commit b558e1defb
3 changed files with 4 additions and 4 deletions

View file

@ -197,7 +197,7 @@ class AlbumRowItemWidget extends StatelessWidget {
CollectionPage(
CollectionWithThumbnail(c, thumbnail),
tagPrefix: tagPrefix,
appBarType: galleryType,
// appBarType: galleryType ?? GalleryType.ownedCollection,
hasVerifiedLock: hasVerifiedLock,
),
);

View file

@ -21,7 +21,7 @@ import 'package:photos/ui/viewer/gallery/gallery_app_bar_widget.dart';
class CollectionPage extends StatelessWidget {
final CollectionWithThumbnail c;
final String tagPrefix;
final GalleryType? appBarType;
final GalleryType appBarType;
final bool? hasVerifiedLock;
CollectionPage(
@ -127,6 +127,6 @@ class CollectionPage extends StatelessWidget {
} else if (c.isQuickLinkCollection()) {
return GalleryType.quickLink;
}
return appBarType!;
return appBarType;
}
}

View file

@ -122,7 +122,7 @@ class _HiddenPageState extends State<HiddenPage> {
initialFiles: null,
emptyState: const EmptyHiddenWidget(),
header: AlbumHorizontalList(
galleryType: GalleryType.hidden,
// galleryType: GalleryType.hidden,
() async {
return _hiddenCollectionsExcludingDefault;
},