From e16320f995feecbfa36c06e30eaefbc42f271760 Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Tue, 14 Jan 2025 17:23:49 +0300 Subject: [PATCH] Fix categories UI bug (#2064) --- lib/pages/apps.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/pages/apps.dart b/lib/pages/apps.dart index 09dde14..a6a88b6 100644 --- a/lib/pages/apps.dart +++ b/lib/pages/apps.dart @@ -524,12 +524,12 @@ class AppsPageState extends State { var transparent = Theme.of(context).colorScheme.surface.withAlpha(0).value; List stops = [ - ...listedApps[index].app.categories.asMap().entries.map( - (e) => ((e.key / (listedApps[index].app.categories.length - 1)))), + ...listedApps[index].app.categories.asMap().entries.map((e) => + ((e.key / (listedApps[index].app.categories.length - 1)) - 0.0001)), 1 ]; if (stops.length == 2) { - stops[0] = 1; + stops[0] = 0.9999; } return Container( decoration: BoxDecoration(