mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
use more descriptive variable naming at unlocking
This commit is contained in:
parent
8ece25d033
commit
f251fec964
2 changed files with 4 additions and 4 deletions
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue