File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
OUDS/Core/ComponentsUIKit/Sources/Controls/Switch Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -191,6 +191,7 @@ struct OUDSSwitchWrapper: View {
191191
192192extension OUDSUIKitBrige {
193193
194+ // swiftlint:disable function_default_parameter_at_end
194195 /// Creates SwiftUI `OUDSSwitch` with only an indicator.
195196 ///
196197 /// ```swift
@@ -230,5 +231,6 @@ extension OUDSUIKitBrige {
230231 uikitSwitchViewController. addTarget ( target, action: action, for: . valueChanged)
231232 return uikitSwitchViewController
232233 }
234+ // swiftlint:enable function_default_parameter_at_end
233235}
234236#endif
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ struct OUDSSwitchItemWrapper: View {
215215
216216 init ( label: String ,
217217 isOn: Bool ,
218- helper : String ? ,
218+ description : String ? ,
219219 icon: Image ? ,
220220 flipIcon: Bool ,
221221 isReversed: Bool ,
@@ -225,7 +225,7 @@ struct OUDSSwitchItemWrapper: View {
225225 {
226226 self . label = label
227227 self . isOn = isOn
228- self . helper = helper
228+ self . description = description
229229 self . icon = icon
230230 self . flipIcon = flipIcon
231231 self . isReversed = isReversed
You can’t perform that action at this time.
0 commit comments