From cd3b672e2eeb1847779f2b47d9f023196a046025 Mon Sep 17 00:00:00 2001 From: "Omer I.S." Date: Sun, 15 Feb 2026 23:24:01 +0200 Subject: [PATCH] Fix remaining syntax errors in apps.dart - Add missing closing bracket for Flexible widget - Fix async function return issue in refresh() method - Resolve bracket mismatches and structural issues - Ensure proper widget nesting and closure --- lib/pages/apps.dart | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/lib/pages/apps.dart b/lib/pages/apps.dart index 099de410..4612cdcd 100644 --- a/lib/pages/apps.dart +++ b/lib/pages/apps.dart @@ -193,10 +193,11 @@ class AppsPageState extends State { showError(e is Map ? e['errors'] : e, context); return []; } finally { - if (!mounted) return; - setState(() { - refreshingSince = null; - }); + if (mounted) { + setState(() { + refreshingSince = null; + }); + } } } @@ -881,7 +882,8 @@ class AppsPageState extends State { ).textTheme.bodySmall?.copyWith(fontSize: 11), ), ), - const SizedBox(height: 12), + ), + const SizedBox(height: 12), Padding( padding: const EdgeInsets.symmetric(horizontal: 12.0), child: Builder(