chore: Nicer empty page

pull/1455/head
krille-chan 4 months ago
parent 9019d9c9a6
commit 8ba46a3533
No known key found for this signature in database

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

@ -8,6 +8,7 @@ class EmptyPage extends StatelessWidget {
@override
Widget build(BuildContext context) {
final width = min(MediaQuery.of(context).size.width, EmptyPage._width) / 2;
final theme = Theme.of(context);
return Scaffold(
// Add invisible appbar to make status bar on Android tablets bright.
appBar: AppBar(
@ -19,7 +20,8 @@ class EmptyPage extends StatelessWidget {
body: Container(
alignment: Alignment.center,
child: Image.asset(
'assets/info-logo.png',
'assets/logo_transparent.png',
color: theme.colorScheme.surfaceContainerHigh,
width: width,
height: width,
filterQuality: FilterQuality.medium,

Loading…
Cancel
Save