diff --git a/lib/app_sources/github.dart b/lib/app_sources/github.dart index 96cd8b3..f6e2615 100644 --- a/lib/app_sources/github.dart +++ b/lib/app_sources/github.dart @@ -343,7 +343,8 @@ class GitHub extends AppSource { } }); } - if ((latestRelease['tag_name'] ?? latestRelease['name']) != null && + if (latestRelease != null && + (latestRelease['tag_name'] ?? latestRelease['name']) != null && releases.isNotEmpty && latestRelease != (releases[releases.length - 1]['tag_name'] ??