use more descriptive variable naming at unlocking

This commit is contained in:
tibbi 2020-04-18 13:10:50 +02:00
parent 8ece25d033
commit f251fec964
2 changed files with 4 additions and 4 deletions

View file

@ -160,8 +160,8 @@ class MediaActivity : SimpleActivity(), MediaOperationsListener {
media_empty_text_placeholder_2.setTextColor(getAdjustedPrimaryColor()) media_empty_text_placeholder_2.setTextColor(getAdjustedPrimaryColor())
if (mMedia.isEmpty() || config.getFolderSorting(mPath) and SORT_BY_RANDOM == 0) { if (mMedia.isEmpty() || config.getFolderSorting(mPath) and SORT_BY_RANDOM == 0) {
handleLockedFolderOpening(mPath) { handleLockedFolderOpening(mPath) { success ->
if (it) { if (success) {
tryLoadGallery() tryLoadGallery()
} else { } else {
finish() finish()

View file

@ -308,8 +308,8 @@ class ViewPagerActivity : SimpleActivity(), ViewPager.OnPageChangeListener, View
showSystemUI(true) showSystemUI(true)
handleLockedFolderOpening(mPath.getParentPath()) { handleLockedFolderOpening(mPath.getParentPath()) { success ->
if (it) { if (success) {
initContinue() initContinue()
} else { } else {
finish() finish()