Skip to content
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.

Fix Search Transactions Clear Text Icon Visibility Issue #3543

Merged
merged 2 commits into from
Sep 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ private fun SearchUi(
SearchInput(
searchQueryTextFieldValue = searchQueryTextFieldValue,
hint = stringResource(R.string.search_transactions),
showClearIcon = searchQueryTextFieldValue.text.isNotEmpty(),
onSetSearchQueryTextField = {
searchQueryTextFieldValue = it
onEvent(SearchEvent.Search(it.text))
Expand Down Expand Up @@ -129,7 +130,7 @@ private fun Preview(isDark: Boolean = false) {
IvyPreview(isDark) {
SearchUi(
uiState = SearchState(
searchQuery = "Transaction",
searchQuery = "",
transactions = persistentListOf(),
baseCurrency = "",
accounts = persistentListOf(),
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.