Skip to content

Commit

Permalink
BAL-XX-GP-SwiftlintFix (#187)
Browse files Browse the repository at this point in the history
Co-authored-by: gperisset <gperisset@celteeka.com>
- New Games
- SwiftLint Fix
  • Loading branch information
gperissetcelteeka authored Nov 9, 2023
1 parent aa396f4 commit 88dde8f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions Balance/Chill/Timer/NewTimerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,9 @@ struct NewTimerView: View {
}
}

// swiftlint: disable vertical_parameter_alignment_on_call
var sliderView: some View {
VStack {
Slider(
value: $sliderValue,
in: 0...Float(self.countTo)
) {
Slider(value: $sliderValue, in: 0...Float(self.countTo), step: 1) {
Text("Speed")
} minimumValueLabel: {
Text(String(toMinutes()))
Expand All @@ -97,9 +93,8 @@ struct NewTimerView: View {
.foregroundColor(darkGrayColor)
} onEditingChanged: { _ in
self.counter = Int(self.sliderValue)
}
.tint(primaryColor)
.padding(.horizontal, 50)
}.tint(primaryColor)
.padding(.horizontal, 50)
}
}

Expand Down

0 comments on commit 88dde8f

Please sign in to comment.