Skip to content

Commit

Permalink
Merge pull request #78 from uhooi/feature/fix_showing_temps
Browse files Browse the repository at this point in the history
Fix all temperatures must be registered to be displayed
  • Loading branch information
uhooi authored Nov 20, 2022
2 parents 29fb26a + b2dfb62 commit fc6b52c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ struct SakatsuRowView: View {
}
}
afterwordText
if !sakatsu.saunaTemperatures.isEmpty && sakatsu.saunaTemperatures.allSatisfy({ $0.temperature != nil }) {
if !sakatsu.saunaTemperatures.isEmpty && sakatsu.saunaTemperatures.contains(where: { $0.temperature != nil }) {
temperaturesView
}
}
Expand Down

0 comments on commit fc6b52c

Please sign in to comment.