mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-06-02 21:39:36 +00:00
14 lines
293 B
Swift
14 lines
293 B
Swift
import Foundation
|
|
import SwiftUI
|
|
|
|
private struct SecondaryColumnKey: EnvironmentKey {
|
|
static let defaultValue = false
|
|
}
|
|
|
|
extension EnvironmentValues {
|
|
public var isSecondaryColumn: Bool {
|
|
get { self[SecondaryColumnKey.self] }
|
|
set { self[SecondaryColumnKey.self] = newValue }
|
|
}
|
|
}
|