Skip to content

Commit

Permalink
Fix launch error on desktop
Browse files Browse the repository at this point in the history
- Fix bad contrast in search bard
  • Loading branch information
DRSchlaubi committed Aug 8, 2023
1 parent 32324a5 commit c5fd2a4
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions app/desktop/rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,6 @@
-keepclassmembers class <1>.<2> {
<1>.<2>$Companion Companion;
}

# compose
-keep class androidx.compose.ui.text.platform.Platform { *; }
78 changes: 75 additions & 3 deletions app/desktop/uwp_helper/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions app/shared/src/commonMain/kotlin/components/SearchBar.kt
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,11 @@ private fun SearchField(
placeholder = { Text(strings.searchExplainer) },
colors = OutlinedTextFieldDefaults.colors(
focusedContainerColor = ColorScheme.searchBarColor,
unfocusedContainerColor = ColorScheme.searchBarColor,
focusedPlaceholderColor = ColorScheme.secondaryContainer,
unfocusedPlaceholderColor = ColorScheme.secondaryContainer,
focusedTextColor = ColorScheme.textColor,
unfocusedTextColor = ColorScheme.textColor,
focusedBorderColor = ColorScheme.searchBarColor,
disabledBorderColor = ColorScheme.searchBarColor,
errorBorderColor = ColorScheme.searchBarColor,
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {

allprojects {
group = "dev.schlaubi.tonbrett"
version = "1.12.3"
version = "1.12.4"

repositories {
mavenCentral()
Expand Down

0 comments on commit c5fd2a4

Please sign in to comment.