Skip to content

Commit f32becf

Browse files
committed
Fix height error
1 parent d75a651 commit f32becf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'kotlin-android'
44
apply plugin: 'kotlin-android-extensions'
55

66
group = 'com.kylecorry'
7-
version = '2.4.0'
7+
version = '2.4.1'
88

99
android {
1010
compileSdkVersion 30

app/src/main/java/com/kylecorry/trailsensecore/domain/weather/clouds/CloudService.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class CloudService : ICloudService {
6363
}
6464

6565
override fun getCloudsByHeight(height: CloudHeight): List<CloudType> {
66-
return CloudType.values().filter { it.height.contains(height) }
66+
return CloudType.values().filter { it.height == height }
6767
}
6868

6969
override fun getCloudsByColor(color: CloudColor): List<CloudType> {

0 commit comments

Comments
 (0)