From a17a2f54650b8e426afa558b629e248ff48b072d Mon Sep 17 00:00:00 2001 From: bggRGjQaUbCoE Date: Wed, 15 Jan 2025 10:15:53 +0800 Subject: [PATCH] fix: #172 Signed-off-by: bggRGjQaUbCoE --- git | 0 lib/utils/video_utils.dart | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 git diff --git a/git b/git new file mode 100644 index 000000000..e69de29bb diff --git a/lib/utils/video_utils.dart b/lib/utils/video_utils.dart index 1c58c42e0..844b88b22 100644 --- a/lib/utils/video_utils.dart +++ b/lib/utils/video_utils.dart @@ -27,7 +27,7 @@ class VideoUtils { } } if (defaultCDNService == CDNService.baseUrl.code) { - return item.baseUrl.isNullOrEmpty.not + return (item.baseUrl as String?).isNullOrEmpty.not ? item.baseUrl : item.backupUrl ?? ""; }