1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-14 06:10:32 +05:30
yattee/Shared/Constants.swift

39 lines
709 B
Swift
Raw Normal View History

2022-08-25 22:39:55 +05:30
import Foundation
import SwiftUI
struct Constants {
2022-12-04 17:51:50 +05:30
static let yatteeProtocol = "yattee://"
2022-08-25 22:39:55 +05:30
static let overlayAnimation = Animation.linear(duration: 0.2)
2022-12-10 07:31:59 +05:30
static var progressViewScale: Double {
#if os(macOS)
0.4
#else
0.6
#endif
}
static var channelThumbnailSize: Double {
#if os(tvOS)
50
#else
30
#endif
}
2022-12-15 16:39:16 +05:30
static var recentsChannelThumbnailSize: Double {
#if os(macOS)
20
#else
30
#endif
}
static var channelDetailsStackSpacing: Double {
#if os(tvOS)
12
#else
6
#endif
}
2022-08-25 22:39:55 +05:30
}