Skip to content

Commit

Permalink
Fix SearchComponents button not round in some cases
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanSmudja committed Nov 30, 2023
1 parent 13d1a4c commit 0a65807
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@
.cxx
local.properties
keystore
app/release
7 changes: 0 additions & 7 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,6 @@ android {
"proguard-rules.pro"
)
}
debug {
isMinifyEnabled = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,17 +76,15 @@ fun SearchComponent(
IconButton(
modifier = Modifier
.align(Alignment.CenterEnd)
.fillMaxHeight()
.padding(8.dp),
.padding(horizontal = 8.dp),
onClick = { onSearch(text) },
colors = IconButtonDefaults.iconButtonColors(
containerColor = Color.Blue, contentColor = Color.White
)
) {
Icon(
modifier = Modifier
.align(Alignment.Center)
.padding(8.dp),
.align(Alignment.Center),
imageVector = Icons.Filled.Search,
contentDescription = "search"
)
Expand Down

0 comments on commit 0a65807

Please sign in to comment.