From b8dc6f9a5311bcadd527b8681bc08bf893aa4f89 Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Sun, 8 Sep 2024 03:25:52 -0400 Subject: [PATCH] Dart fix --- lib/app_sources/apkpure.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/app_sources/apkpure.dart b/lib/app_sources/apkpure.dart index 82fdf23..89c2523 100644 --- a/lib/app_sources/apkpure.dart +++ b/lib/app_sources/apkpure.dart @@ -114,7 +114,7 @@ class APKPure extends AppSource { .map((e) => e.text.trim()) .map((t) => t == 'APKs' ? 'APK' : t) ?? []; - String type = types.length == 0 + String type = types.isEmpty ? 'APK' : types.length == 1 ? types.first