2022-08-25 17:09:55 +00:00
|
|
|
import Foundation
|
|
|
|
import SwiftUI
|
|
|
|
|
|
|
|
struct Constants {
|
2022-12-04 12:21:50 +00:00
|
|
|
static let yatteeProtocol = "yattee://"
|
2022-08-25 17:09:55 +00:00
|
|
|
static let overlayAnimation = Animation.linear(duration: 0.2)
|
2022-12-10 02:01:59 +00:00
|
|
|
static var progressViewScale: Double {
|
|
|
|
#if os(macOS)
|
|
|
|
0.4
|
|
|
|
#else
|
|
|
|
0.6
|
|
|
|
#endif
|
|
|
|
}
|
2022-12-14 11:56:47 +00:00
|
|
|
|
|
|
|
static var channelThumbnailSize: Double {
|
|
|
|
#if os(tvOS)
|
|
|
|
50
|
|
|
|
#else
|
|
|
|
30
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
2022-12-15 11:09:16 +00:00
|
|
|
static var recentsChannelThumbnailSize: Double {
|
|
|
|
#if os(macOS)
|
|
|
|
20
|
|
|
|
#else
|
|
|
|
30
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
2022-12-14 11:56:47 +00:00
|
|
|
static var channelDetailsStackSpacing: Double {
|
|
|
|
#if os(tvOS)
|
|
|
|
12
|
|
|
|
#else
|
|
|
|
6
|
|
|
|
#endif
|
|
|
|
}
|
2022-08-25 17:09:55 +00:00
|
|
|
}
|