We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
var
let
1 parent 81a224b commit 71cf5bdCopy full SHA for 71cf5bd
WordPress/Classes/ViewRelated/Me/App Settings/App Icons/AppIconListViewModel.swift
@@ -38,7 +38,7 @@ final class AppIconListViewModel: AppIconListViewModelType {
38
let currentLightIcons = allIcons.filter({ $0.isLegacy == false && $0.isBordered == true })
39
.sorted(by: sortWithPriority(toItemsWithPrefix: AppIcon.defaultIconName))
40
let legacyIcons = {
41
- var icons = allIcons.filter({ $0.isLegacy == true })
+ let icons = allIcons.filter({ $0.isLegacy == true })
42
if let legacyIconName = AppIcon.defaultLegacyIconName {
43
return icons.sorted(by: sortWithPriority(toItemsWithPrefix: legacyIconName))
44
}
0 commit comments