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())
|
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()
|
||||||
|
|
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue