Attempt to improve app load time

Slight icon opacity tweak (#1637)
This commit is contained in:
Imran Remtulla
2024-05-22 19:35:51 -04:00
parent 0e2fa96b9f
commit 9c46e3f88c
2 changed files with 55 additions and 28 deletions

View File

@@ -354,7 +354,11 @@ class AppsPageState extends State<AppsPage> {
SliverFillRemaining(
child: Center(
child: Text(
appsProvider.apps.isEmpty ? tr('noApps') : tr('noAppsForFilter'),
appsProvider.apps.isEmpty
? appsProvider.loadingApps
? tr('pleaseWait')
: tr('noApps')
: tr('noAppsForFilter'),
style: Theme.of(context).textTheme.headlineMedium,
textAlign: TextAlign.center,
))),
@@ -419,7 +423,9 @@ class AppsPageState extends State<AppsPage> {
child: Image(
image: const AssetImage(
'assets/graphics/icon_small.png'),
color: Colors.white.withOpacity(0.3),
color: Theme.of(context).brightness == Brightness.dark
? Colors.white.withOpacity(0.4)
: Colors.white.withOpacity(0.3),
colorBlendMode: BlendMode.modulate,
gaplessPlayback: true,
),