// // Binding.swift // WorkoutsPlus // // Created by Felix Förtsch on 21.09.24. // import SwiftUI extension Binding { init?(_ source: Binding) { guard let value = source.wrappedValue else { return nil } self.init( get: { value }, set: { newValue in source.wrappedValue = newValue } ) } }