File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Examples/DemosApp/DemosApp/ComponentsPreview/PreviewPages Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,22 +12,22 @@ struct ProgressBarPreview: View {
1212 var body : some View {
1313 VStack {
1414 PreviewWrapper ( title: " SwiftUI " ) {
15- SUProgressBar ( currentValue: $currentValue, model: self . model)
15+ SUProgressBar ( currentValue: self . $currentValue, model: self . model)
1616 }
1717 Form {
1818 ComponentColorPicker ( selection: self . $model. color)
1919 CornerRadiusPicker ( selection: self . $model. cornerRadius) {
2020 Text ( " Custom: 2px " ) . tag ( ComponentRadius . custom ( 2 ) )
2121 }
2222 SizePicker ( selection: self . $model. size)
23- Picker ( " Style " , selection: $model. style) {
23+ Picker ( " Style " , selection: self . $model. style) {
2424 Text ( " Light " ) . tag ( ProgressBarVM . Style. light)
2525 Text ( " Filled " ) . tag ( ProgressBarVM . Style. filled)
2626 Text ( " Striped " ) . tag ( ProgressBarVM . Style. striped)
2727 }
2828 }
2929 }
30- . onReceive ( timer) { _ in
30+ . onReceive ( self . timer) { _ in
3131 if self . currentValue < self . model. maxValue {
3232 self . currentValue += 1
3333 } else {
You can’t perform that action at this time.
0 commit comments