feat: Pull to Refresh 민감도 대폭 향상 (v1.10.0)

- positionalThreshold를 60dp에서 40dp로 축소 (기본값의 1/3)
- 새로고침이 훨씬 쉽고 직관적으로 작동
- 사용자 경험 개선 - 가벼운 스와이프로도 새로고침 가능
This commit is contained in:
sanjeok77
2026-03-07 04:40:38 +09:00
parent 37ee8ab46d
commit 286203040b
3 changed files with 8 additions and 10 deletions

View File

@@ -24,8 +24,8 @@ android {
applicationId = "com.hotdeal.alarm"
minSdk = 31
targetSdk = 35
versionCode = 15
versionName = "1.9.0"
versionCode = 16
versionName = "1.10.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {

View File

@@ -46,9 +46,9 @@ fun DealListScreen(
val uiState by viewModel.uiState.collectAsStateWithLifecycle()
val context = LocalContext.current
// Pull to Refresh 상태 - 감도 증가를 위해 threshold 값 감소
// Pull to Refresh 상태 - 감도 대폭 향상
val pullToRefreshState = rememberPullToRefreshState(
positionalThreshold = 60.dp // 기본값(120.dp)의 절반으로 설정하여 쉽게 새로고침
positionalThreshold = 40.dp // 기본값의 1/3로 설정하여 매우 쉽게 새로고침
)
var isRefreshing by remember { mutableStateOf(false) }