minor fixes
This commit is contained in:
parent
b711dfe715
commit
b17bcd00f9
2 changed files with 13 additions and 16 deletions
|
@ -150,9 +150,9 @@ class _CollectionsGalleryWidgetState extends State<CollectionsGalleryWidget>
|
|||
margin: const EdgeInsets.only(bottom: 50),
|
||||
child: Column(
|
||||
children: [
|
||||
Padding(padding: EdgeInsets.all(6)),
|
||||
const SizedBox(height: 12),
|
||||
SectionTitle("On device"),
|
||||
Padding(padding: EdgeInsets.all(8)),
|
||||
const SizedBox(height: 24),
|
||||
items.folders.isEmpty
|
||||
? Padding(
|
||||
padding: const EdgeInsets.all(22),
|
||||
|
|
|
@ -150,21 +150,18 @@ class _SharedCollectionGalleryState extends State<SharedCollectionGallery>
|
|||
: _getIncomingCollectionEmptyState(),
|
||||
const SizedBox(height: 32),
|
||||
SectionTitle("Outgoing"),
|
||||
const SizedBox(height: 16),
|
||||
const SizedBox(height: 12),
|
||||
collections.outgoing.isNotEmpty
|
||||
? Padding(
|
||||
padding: const EdgeInsets.fromLTRB(0, 0, 0, 0),
|
||||
child: ListView.builder(
|
||||
shrinkWrap: true,
|
||||
padding: EdgeInsets.only(bottom: 12),
|
||||
physics: NeverScrollableScrollPhysics(),
|
||||
itemBuilder: (context, index) {
|
||||
return OutgoingCollectionItem(
|
||||
collections.outgoing[index],
|
||||
);
|
||||
},
|
||||
itemCount: collections.outgoing.length,
|
||||
),
|
||||
? ListView.builder(
|
||||
shrinkWrap: true,
|
||||
padding: EdgeInsets.only(bottom: 12),
|
||||
physics: NeverScrollableScrollPhysics(),
|
||||
itemBuilder: (context, index) {
|
||||
return OutgoingCollectionItem(
|
||||
collections.outgoing[index],
|
||||
);
|
||||
},
|
||||
itemCount: collections.outgoing.length,
|
||||
)
|
||||
: _getOutgoingCollectionEmptyState(),
|
||||
const SizedBox(height: 32),
|
||||
|
|
Loading…
Add table
Reference in a new issue