🔥 Removes unused #available checks

This commit is contained in:
Stuart Breckenridge
2025-06-20 19:48:15 +08:00
parent 00b8affe5f
commit cabaa32be5
14 changed files with 80 additions and 210 deletions

View File

@@ -23,11 +23,7 @@ struct SidebarCellAppearance: Equatable {
textFieldFontSize = 11
case .large:
imageSize = CGSize(width: 22, height: 22)
if #available(macOS 11.0, *) {
textFieldFontSize = 15
} else {
textFieldFontSize = 13
}
textFieldFontSize = 15
default:
imageSize = CGSize(width: 19, height: 19)
textFieldFontSize = 13