Skip to content

Commit 32cb719

Browse files
sowjanyakchbackportbot[bot]
authored andcommitted
fix ripple effect
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
1 parent 8dc8e8d commit 32cb719

1 file changed

Lines changed: 9 additions & 14 deletions

File tree

app/src/main/java/com/nextcloud/talk/conversationlist/ui/ConversationListTopBar.kt

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -225,20 +225,15 @@ private fun IdleSearchBarActions(
225225
onClick = actions.onFilterClick,
226226
modifier = Modifier.size(48.dp)
227227
) {
228-
Box(
229-
Modifier.fillMaxSize(),
230-
contentAlignment = if (state.showThreadsButton) Alignment.CenterEnd else Alignment.Center
231-
) {
232-
Icon(
233-
painter = painterResource(R.drawable.ic_baseline_filter_list_24),
234-
contentDescription = stringResource(R.string.nc_filter),
235-
tint = if (state.showFilterActive) {
236-
MaterialTheme.colorScheme.primary
237-
} else {
238-
MaterialTheme.colorScheme.onSurfaceVariant
239-
}
240-
)
241-
}
228+
Icon(
229+
painter = painterResource(R.drawable.ic_baseline_filter_list_24),
230+
contentDescription = stringResource(R.string.nc_filter),
231+
tint = if (state.showFilterActive) {
232+
MaterialTheme.colorScheme.primary
233+
} else {
234+
MaterialTheme.colorScheme.onSurfaceVariant
235+
}
236+
)
242237
}
243238
if (state.showThreadsButton) {
244239
IconButton(

0 commit comments

Comments
 (0)