Skip to content

Commit 4a9f804

Browse files
committed
some fixes
1 parent b3346d9 commit 4a9f804

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

feature-search/src/main/java/com/hoc/flowmvi/ui/search/SearchContract.kt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ internal sealed interface PartialStateChange {
6565
submittedQuery = submittedQuery,
6666
users = emptyList()
6767
)
68-
Loading -> state.copy(isLoading = true, error = null)
68+
Loading -> state.copy(
69+
isLoading = true,
70+
error = null,
71+
users = emptyList()
72+
)
6973
is Success -> state.copy(
7074
isLoading = false,
7175
error = null,

0 commit comments

Comments
 (0)