Skip to content

Commit

Permalink
v1.8 NullPointerException
Browse files Browse the repository at this point in the history
  • Loading branch information
codeskraps committed Jan 18, 2024
1 parent 40be684 commit a607231
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ android {
applicationId = "com.arklan.weather"
minSdk = ConfigData.minSdk
targetSdk = ConfigData.targetSdk
versionCode = 8
versionName = "1.7"
versionCode = 9
versionName = "1.8"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
Binary file modified app/release/app-release.aab
Binary file not shown.
Binary file modified buildSrc/build/kotlin/compileKotlin/cacheable/last-build.bin
Binary file not shown.
Binary file not shown.
Binary file modified buildSrc/build/libs/buildSrc.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -216,12 +216,14 @@ fun WeatherScreen(
) {
Box(Modifier.pullRefresh(pullRefreshState)) {

LazyColumn {
item {
WeatherCard(
data = state.weatherInfo.currentWeatherData!!,
backgroundColor = MaterialTheme.colorScheme.primaryContainer
)
state.weatherInfo.currentWeatherData?.let {
LazyColumn {
item {
WeatherCard(
data = it,
backgroundColor = MaterialTheme.colorScheme.primaryContainer
)
}
}
}

Expand Down

0 comments on commit a607231

Please sign in to comment.