Fix loading issue in app detail screen (would freeze in skeleton state)

This commit is contained in:
franzap
2026-01-27 17:17:41 -03:00
parent 1d978facac
commit f3b17b1701
+2 -1
View File
@@ -196,6 +196,7 @@ class _AppDetailContent extends HookConsumerWidget {
final isInstalled = installedPackage != null;
// Show skeleton while relationships are loading
// Always show loading indicator here - relationships are still pending
if (latestRelease == null || latestMetadata == null) {
return Scaffold(
body: SafeArea(
@@ -210,7 +211,7 @@ class _AppDetailContent extends HookConsumerWidget {
),
InstallButton(app: app, release: latestRelease),
_buildFloatingMenu(context, ref, app, isInstalled, isSignedIn),
if (isLoading) _buildLoadingIndicator(context),
_buildLoadingIndicator(context),
],
),
),