mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
39 lines
709 B
Swift
39 lines
709 B
Swift
import Foundation
|
|
import SwiftUI
|
|
|
|
struct Constants {
|
|
static let yatteeProtocol = "yattee://"
|
|
static let overlayAnimation = Animation.linear(duration: 0.2)
|
|
static var progressViewScale: Double {
|
|
#if os(macOS)
|
|
0.4
|
|
#else
|
|
0.6
|
|
#endif
|
|
}
|
|
|
|
static var channelThumbnailSize: Double {
|
|
#if os(tvOS)
|
|
50
|
|
#else
|
|
30
|
|
#endif
|
|
}
|
|
|
|
static var sidebarChannelThumbnailSize: Double {
|
|
#if os(macOS)
|
|
20
|
|
#else
|
|
30
|
|
#endif
|
|
}
|
|
|
|
static var channelDetailsStackSpacing: Double {
|
|
#if os(tvOS)
|
|
12
|
|
#else
|
|
6
|
|
#endif
|
|
}
|
|
}
|