Skip to content

Commit fc6b52c

Browse files
authored
Merge pull request #78 from uhooi/feature/fix_showing_temps
Fix all temperatures must be registered to be displayed
2 parents 29fb26a + b2dfb62 commit fc6b52c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

TotonoiPackage/Sources/Features/Sakatsu/SakatsuList/SakatsuRowView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ struct SakatsuRowView: View {
2929
}
3030
}
3131
afterwordText
32-
if !sakatsu.saunaTemperatures.isEmpty && sakatsu.saunaTemperatures.allSatisfy({ $0.temperature != nil }) {
32+
if !sakatsu.saunaTemperatures.isEmpty && sakatsu.saunaTemperatures.contains(where: { $0.temperature != nil }) {
3333
temperaturesView
3434
}
3535
}

0 commit comments

Comments
 (0)