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