Redesign selection (#228)

* fixed appbar in album screen
This commit is contained in:
Ashil 2022-05-03 17:00:32 +05:30 committed by GitHub
parent 6febd3e2b3
commit 7d67392ccb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,24 +45,12 @@ class CollectionPage extends StatelessWidget {
);
return Scaffold(
appBar: PreferredSize(
preferredSize: Size.fromHeight(108),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
GalleryAppBarWidget(
appBarType,
c.collection.name,
_selectedFiles,
collection: c.collection,
),
Padding(
padding: const EdgeInsets.fromLTRB(12, 12, 0, 0),
child: Text(
c.collection.name,
style: Theme.of(context).textTheme.headline5,
),
),
],
preferredSize: Size.fromHeight(50.0),
child: GalleryAppBarWidget(
appBarType,
c.collection.name, //title
_selectedFiles,
collection: c.collection,
),
),
body: gallery,