diff --git a/Tusker/Preferences/Preference.swift b/Tusker/Preferences/Preference.swift index d180bac50b..5b05da76b7 100644 --- a/Tusker/Preferences/Preference.swift +++ b/Tusker/Preferences/Preference.swift @@ -8,7 +8,7 @@ import SwiftUI @propertyWrapper -struct Preference: BindingConvertible { +struct Preference { let path: WritableKeyPath let binding: Binding @@ -32,7 +32,7 @@ struct Preference: BindingConvertible { } @propertyWrapper -struct MappedPreference: BindingConvertible { +struct MappedPreference { let path: WritableKeyPath let fromPref: (PrefValue) -> Value let toPref: (Value) -> PrefValue