We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2470fae commit 90b738aCopy full SHA for 90b738a
app/src/main/java/com/runnect/runnect/presentation/mypage/history/MyHistoryActivity.kt
@@ -195,7 +195,7 @@ class MyHistoryActivity : BindingActivity<ActivityMyHistoryBinding>(R.layout.act
195
btnMyPageHistoryEditHistory.text = EDIT_MODE
196
tvMyPageHistoryTotalCourseCount.text = viewModel.getHistoryCount()
197
if (::adapter.isInitialized) adapter.clearSelection()
198
- btnMyPageHistoryDelete.isVisible = viewModel.editMode.value!!
+ btnMyPageHistoryDelete.isVisible = viewModel.editMode.value ?: true
199
viewModel.clearItemsToDelete()
200
}
201
0 commit comments