From bfabbcf3bafee7c5228acf17b938790c952a2214 Mon Sep 17 00:00:00 2001 From: dankito Date: Fri, 31 Jul 2020 01:13:01 +0200 Subject: [PATCH] Also using now isNotEmpty --- .../BankingiOSApp/BankIconFinder/FaviconFinder.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/BankingiOSApp/BankingiOSApp/BankIconFinder/FaviconFinder.swift b/ui/BankingiOSApp/BankingiOSApp/BankIconFinder/FaviconFinder.swift index c21512cb..033a6a86 100644 --- a/ui/BankingiOSApp/BankingiOSApp/BankIconFinder/FaviconFinder.swift +++ b/ui/BankingiOSApp/BankingiOSApp/BankIconFinder/FaviconFinder.swift @@ -152,7 +152,7 @@ class FaviconFinder { if let sizesString = sizesString { let sizes = extractSizesFromString(sizesString) - if sizes.isEmpty == false { + if sizes.isNotEmpty { return sizes.max(by: { lhs, rhs in lhs >= rhs } ) } }