Skip to content

Commit 2470fae

Browse files
committed
[MOD] #265 람다 변수명 제거 후 it 활용
count라는 혼동을 줄 수 있는 람다 변수명 제거
1 parent 68311f2 commit 2470fae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/com/runnect/runnect/presentation/mypage/history/MyHistoryActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@ class MyHistoryActivity : BindingActivity<ActivityMyHistoryBinding>(R.layout.act
145145
exitEditMode()
146146
}
147147
}
148-
viewModel.itemsToDeleteLiveData.observe(this) { count ->
149-
updateDeleteButton(count.size)
148+
viewModel.itemsToDeleteLiveData.observe(this) {
149+
updateDeleteButton(it.size)
150150
}
151151
}
152152

0 commit comments

Comments
 (0)