Also using now isNotEmpty

This commit is contained in:
dankito 2020-07-31 01:13:01 +02:00
parent 847f1b2508
commit bfabbcf3ba
1 changed files with 1 additions and 1 deletions

View File

@ -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 } )
}
}