mirror of
https://github.com/immich-app/immich.git
synced 2025-06-01 04:36:19 -04:00
parent
b66c53bef3
commit
53940f7d42
@ -661,29 +661,31 @@ class SearchEmptyContent extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return ListView(
|
return NotificationListener<ScrollNotification>(
|
||||||
shrinkWrap: true,
|
onNotification: (_) => true,
|
||||||
physics: NeverScrollableScrollPhysics(),
|
child: ListView(
|
||||||
children: [
|
shrinkWrap: false,
|
||||||
SizedBox(height: 40),
|
children: [
|
||||||
Center(
|
SizedBox(height: 40),
|
||||||
child: Image.asset(
|
Center(
|
||||||
context.isDarkTheme
|
child: Image.asset(
|
||||||
? 'assets/polaroid-dark.png'
|
context.isDarkTheme
|
||||||
: 'assets/polaroid-light.png',
|
? 'assets/polaroid-dark.png'
|
||||||
height: 125,
|
: 'assets/polaroid-light.png',
|
||||||
|
height: 125,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
SizedBox(height: 16),
|
||||||
SizedBox(height: 16),
|
Center(
|
||||||
Center(
|
child: Text(
|
||||||
child: Text(
|
"Search for your photos and videos",
|
||||||
"Search for your photos and videos",
|
style: context.textTheme.labelLarge,
|
||||||
style: context.textTheme.labelLarge,
|
),
|
||||||
),
|
),
|
||||||
),
|
SizedBox(height: 32),
|
||||||
SizedBox(height: 32),
|
QuickLinkList(),
|
||||||
QuickLinkList(),
|
],
|
||||||
],
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user