diff --git a/lib/pages/detail/view.dart b/lib/pages/detail/view.dart index 7c7881ef..d6f831fb 100644 --- a/lib/pages/detail/view.dart +++ b/lib/pages/detail/view.dart @@ -126,20 +126,20 @@ class _DetailPageState extends State { } Widget _buildDesktopDetail(BuildContext context) { - return Obx(() { - if (!ExtensionUtils.extensions.containsKey(widget.package)) { - return Center( - child: Text( - FlutterI18n.translate( - context, - 'common.extension-missing', - translationParams: { - 'package': widget.package, - }, - ), + if (!ExtensionUtils.extensions.containsKey(widget.package)) { + return Center( + child: Text( + FlutterI18n.translate( + context, + 'common.extension-missing', + translationParams: { + 'package': widget.package, + }, ), - ); - } + ), + ); + } + return Obx(() { if (c.error.value.isNotEmpty) { return Center( child: Text(c.error.value),