Skip to content

Commit

Permalink
Fix colors of search bar in dark mode (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
chvp authored Jul 25, 2021
1 parent a2da243 commit b32fd86
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ fun BaseToolbar(
}
}
}
}
},
)
}

Expand All @@ -263,8 +263,10 @@ fun SearchToolbar(value: String, update: (String) -> Unit, exit: () -> Unit) {
)
},
colors = TextFieldDefaults.textFieldColors(
backgroundColor = MaterialTheme.colors.primarySurface,
cursorColor = LocalContentColor.current.copy(LocalContentAlpha.current)
backgroundColor = Color.Transparent,
cursorColor = LocalContentColor.current.copy(LocalContentAlpha.current),
focusedIndicatorColor = Color.Transparent,
unfocusedIndicatorColor = Color.Transparent,
),
modifier = Modifier.weight(1f).fillMaxHeight().focusRequester(focusRequester),
)
Expand Down

0 comments on commit b32fd86

Please sign in to comment.