mirror of
https://github.com/yattee/yattee.git
synced 2025-10-14 19:38:13 +00:00
Drop iOS 14 and macOS 11 support
This commit is contained in:
@@ -63,16 +63,9 @@ struct Constants {
|
||||
|
||||
static func seekIcon(_ type: String, _ interval: TimeInterval) -> String {
|
||||
let interval = Int(interval)
|
||||
let allVersions = [10, 15, 30, 45, 60, 75, 90]
|
||||
let iOS15 = [5]
|
||||
let allVersions = [5, 10, 15, 30, 45, 60, 75, 90]
|
||||
let iconName = "go\(type).\(interval)"
|
||||
|
||||
if #available(iOS 15, macOS 12, *) {
|
||||
if iOS15.contains(interval) {
|
||||
return iconName
|
||||
}
|
||||
}
|
||||
|
||||
if allVersions.contains(interval) {
|
||||
return iconName
|
||||
}
|
||||
|
Reference in New Issue
Block a user