diff --git a/lib/pages/app.dart b/lib/pages/app.dart index a00c487..7f290d4 100644 --- a/lib/pages/app.dart +++ b/lib/pages/app.dart @@ -26,6 +26,7 @@ class _AppPageState extends State { appsProvider.getUpdate(app!.app.id); } return Scaffold( + backgroundColor: Theme.of(context).colorScheme.surface, body: CustomScrollView(slivers: [ CustomAppBar(title: '${app?.app.name}'), SliverFillRemaining( diff --git a/lib/pages/apps.dart b/lib/pages/apps.dart index 647fbe7..6f93c7c 100644 --- a/lib/pages/apps.dart +++ b/lib/pages/apps.dart @@ -36,6 +36,7 @@ class _AppsPageState extends State { } return Scaffold( + backgroundColor: Theme.of(context).colorScheme.surface, floatingActionButton: existingUpdateAppIds.isEmpty ? null : ElevatedButton.icon( @@ -59,12 +60,14 @@ class _AppsPageState extends State { const CustomAppBar(title: 'Apps'), if (appsProvider.loadingApps || appsProvider.apps.isEmpty) SliverFillRemaining( - child: appsProvider.loadingApps - ? const CircularProgressIndicator() - : Text( - 'No Apps', - style: Theme.of(context).textTheme.headlineMedium, - )), + child: Center( + child: appsProvider.loadingApps + ? const CircularProgressIndicator() + : Text( + 'No Apps', + style: + Theme.of(context).textTheme.headlineMedium, + ))), SliverList( delegate: SliverChildBuilderDelegate( (BuildContext context, int index) { diff --git a/lib/pages/home.dart b/lib/pages/home.dart index ce3a096..1247a6d 100644 --- a/lib/pages/home.dart +++ b/lib/pages/home.dart @@ -35,6 +35,7 @@ class _HomePageState extends State { Widget build(BuildContext context) { return WillPopScope( child: Scaffold( + backgroundColor: Theme.of(context).colorScheme.surface, body: pages .elementAt( selectedIndexHistory.isEmpty ? 0 : selectedIndexHistory.last)