//
//  tournamentSeedEditing.swift
//  PadelClub
//
//  Created by Razmig Sarkissian on 31/03/2024.
//

import Foundation
import SwiftUI

private struct TournamentSeedEditing: EnvironmentKey {
    static let defaultValue: Binding<Bool> = .constant(false)
}

extension EnvironmentValues {
    var isEditingTournamentSeed: Binding<Bool> {
        get { self[TournamentSeedEditing.self] }
        set { self[TournamentSeedEditing.self] = newValue }
    }
}
