Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f1232722 authored by Ellen Poe's avatar Ellen Poe
Browse files

docs: clarify comment in HomeViewModel

parent 48e9f36e
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -56,7 +56,8 @@ class HomeViewModel @Inject constructor(


    val searchExpanded: Flow<Boolean> = _searchExpanded
    val searchExpanded: Flow<Boolean> = _searchExpanded


    // Keep a separate TextFieldValue for UI compatibility
    // Keep selection state separately from the base viewmodel so that we can preserve it when the
    // user hits the back button to return to the search screen.
    var searchQueryValue by mutableStateOf(
    var searchQueryValue by mutableStateOf(
        TextFieldValue()
        TextFieldValue()
    )
    )