Skip to content

Commit

Permalink
3.2.1 - Places search bar underline UI tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtakac committed Dec 20, 2022
1 parent cc1bbf2 commit d89961d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 4 additions & 0 deletions androidApp/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- iOS support
- NWS weather data provider

## [3.2.1] - 2022-12-20
### Changed
- Places search bar underline is in text color when idle and primary with track when loading

## [3.2.0] - 2022-12-20
### Note
- For the widget changes to apply, you may need to remove and add them again
Expand Down
4 changes: 2 additions & 2 deletions androidApp/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ android {
applicationId = "hr.dtakac.prognoza"
minSdk = AndroidConfig.minSdk
targetSdk = AndroidConfig.targetSdk
versionCode = 16
versionCode = 17
// Before pushing to release, make sure this value matches the latest one in CHANGELOG.md
versionName = "3.2.0"
versionName = "3.2.1"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
resourceConfigurations.addAll(listOf("en", "hr"))
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import androidx.compose.animation.Crossfade
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.material3.LinearProgressIndicator
import androidx.compose.material3.LocalContentColor
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.unit.dp

@Composable
Expand All @@ -19,15 +19,14 @@ fun PlacesLoadingUnderline(
LinearProgressIndicator(
modifier = Modifier
.fillMaxWidth()
.height(1.dp),
trackColor = Color.Transparent
.height(1.dp)
)
} else {
LinearProgressIndicator(
modifier = Modifier
.fillMaxWidth()
.height(1.dp),
trackColor = Color.Transparent,
color = LocalContentColor.current,
progress = 1f
)
}
Expand Down

0 comments on commit d89961d

Please sign in to comment.