From e7c2112f417c3f079d6ad5782cf7c8ff3f9bbb4e Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Sat, 9 Mar 2024 13:50:22 -0500 Subject: [PATCH] Bugfix from prev. commit --- lib/app_sources/github.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'] ??