diff --git a/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/search/uistate/SearchUiState.kt b/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/search/uistate/SearchUiState.kt index 44ecf7f07..69dac7b0e 100644 --- a/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/search/uistate/SearchUiState.kt +++ b/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/search/uistate/SearchUiState.kt @@ -17,7 +17,7 @@ sealed interface SearchUiState { val shouldShowRecentSearchSuccessNotEmpty get() = this is RecentSearchSuccess && recentSearchQueries.isNotEmpty() val shouldShowEmptyRecentSearchSuccessEmpty get() = this is RecentSearchSuccess && recentSearchQueries.isEmpty() - val shouldShowEmptyRecentSearchSuccess get() = this is RecentSearchSuccess + val shouldShowRecentSearchSuccess get() = this is RecentSearchSuccess val shouldShowSearchSuccess get() = this is SearchSuccess val shouldShowLoading get() = this is Loading val shouldShowError get() = this is Error diff --git a/android/festago/presentation/src/main/res/layout/fragment_search.xml b/android/festago/presentation/src/main/res/layout/fragment_search.xml index 68465cf6b..e3aaea8d9 100644 --- a/android/festago/presentation/src/main/res/layout/fragment_search.xml +++ b/android/festago/presentation/src/main/res/layout/fragment_search.xml @@ -123,7 +123,7 @@ android:textColor="@color/contents_gray_07" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/clAppBarSearch" - app:visibility="@{uiState.shouldShowEmptyRecentSearchSuccess}" /> + app:visibility="@{uiState.shouldShowRecentSearchSuccess}" /> + app:visibility="@{uiState.shouldShowRecentSearchSuccess}" />