Cotton code
17 lines · 559 B · SwiftRaw
// The project the cap's switcher has set: nil is All. Every board, list and// page reads it and narrows what it shows (rebuild note 7b95efa4, "Projects are// a filter"). The value is the project record's id — the same value a record's// project column holds.import SwiftUIprivate struct CurrentProjectKey: EnvironmentKey {    static let defaultValue: String? = nil}extension EnvironmentValues {    public var currentProject: String? {        get { self[CurrentProjectKey.self] }        set { self[CurrentProjectKey.self] = newValue }    }}