A minor fix and some additions for ref
This commit is contained in:
parent
b05c693651
commit
b558e1defb
|
@ -197,7 +197,7 @@ class AlbumRowItemWidget extends StatelessWidget {
|
|||
CollectionPage(
|
||||
CollectionWithThumbnail(c, thumbnail),
|
||||
tagPrefix: tagPrefix,
|
||||
appBarType: galleryType,
|
||||
// appBarType: galleryType ?? GalleryType.ownedCollection,
|
||||
hasVerifiedLock: hasVerifiedLock,
|
||||
),
|
||||
);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue