diff --git a/buildSrc/src/main/kotlin/AppVersions.kt b/buildSrc/src/main/kotlin/AppVersions.kt index e961c65..a93f9a7 100644 --- a/buildSrc/src/main/kotlin/AppVersions.kt +++ b/buildSrc/src/main/kotlin/AppVersions.kt @@ -4,8 +4,8 @@ object AppVersions { const val APPLICATION_ID = "com.random.user" const val COMPILE_SDK = 35 const val MIN_SDK = 26 - const val APP_VERSION_CODE = 3 - const val APP_VERSION_NAME = "1.2.0" + const val APP_VERSION_CODE = 4 + const val APP_VERSION_NAME = "1.2.1" const val JVM_TARGET = "17" val javaVersion = JavaVersion.VERSION_17 } diff --git a/presentation/users/src/main/kotlin/com/random/users/users/composable/UserList.kt b/presentation/users/src/main/kotlin/com/random/users/users/composable/UserList.kt index 270a2cc..5059739 100644 --- a/presentation/users/src/main/kotlin/com/random/users/users/composable/UserList.kt +++ b/presentation/users/src/main/kotlin/com/random/users/users/composable/UserList.kt @@ -56,7 +56,6 @@ internal fun UserList( } LaunchedEffect( - reachedBottom, state.contentState, ) { snapshotFlow { reachedBottom } diff --git a/presentation/users/src/main/kotlin/com/random/users/users/composable/UserSearchView.kt b/presentation/users/src/main/kotlin/com/random/users/users/composable/UserSearchView.kt index 18b1522..19da1d9 100644 --- a/presentation/users/src/main/kotlin/com/random/users/users/composable/UserSearchView.kt +++ b/presentation/users/src/main/kotlin/com/random/users/users/composable/UserSearchView.kt @@ -31,9 +31,7 @@ internal fun UserSearchView( ) { val searchState = rememberSaveable { mutableStateOf(search) } - LaunchedEffect( - searchState.value, - ) { + LaunchedEffect(Unit) { snapshotFlow { searchState.value } .distinctUntilChanged() .debounce(200)