Skip to content

Commit

Permalink
♻️ 리터널 문자열 상수 값으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
yonghanJu committed Dec 18, 2023
1 parent 6748896 commit 03c8df3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import com.whyranoid.domain.model.user.UserWithFollowingState
import com.whyranoid.domain.usecase.community.FollowUseCase
import com.whyranoid.domain.usecase.community.GetSearchedUserUseCase
import com.whyranoid.domain.usecase.community.UnFollowUseCase
import com.whyranoid.domain.util.EMPTY
import kotlinx.coroutines.flow.MutableStateFlow
import kotlinx.coroutines.flow.asStateFlow
import kotlinx.coroutines.launch
Expand All @@ -17,7 +18,7 @@ class SearchFriendViewModel(
private val unFollowUseCase: UnFollowUseCase,
) : ViewModel() {

private val _query = MutableStateFlow("")
private val _query = MutableStateFlow(String.EMPTY)
val query get() = _query.asStateFlow()

val userList = MutableStateFlow(listOf<UserWithFollowingState>())
Expand Down

0 comments on commit 03c8df3

Please sign in to comment.