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())
if (mMedia.isEmpty() || config.getFolderSorting(mPath) and SORT_BY_RANDOM == 0) {
handleLockedFolderOpening(mPath) {
if (it) {
handleLockedFolderOpening(mPath) { success ->
if (success) {
tryLoadGallery()
} else {
finish()

View file

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