Skip to content

Commit

Permalink
fix(neon_framework): Fix unsupported apps dialog shown even when none…
Browse files Browse the repository at this point in the history
… are unsupported

Signed-off-by: provokateurin <kate@provokateurin.de>
  • Loading branch information
provokateurin committed May 14, 2024
1 parent 377bd6e commit 9d011a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/neon_framework/lib/src/pages/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class _HomePageState extends State<HomePage> {
final maintenanceModeBloc = _accountsBloc.getMaintenanceModeBlocFor(widget.account);

_versionCheckSubscription = _appsBloc.unsupportedApps.listen((unsupportedChecks) {
if (!mounted) {
if (!mounted || unsupportedChecks.isEmpty) {
return;
}

Expand Down

0 comments on commit 9d011a0

Please sign in to comment.