Merge pull request #524 from trubitsyn/patch-1

Camel case fix: tryloadGallery -> tryLoadGallery
This commit is contained in:
Tibor Kaputa 2017-12-25 23:10:19 +01:00 committed by GitHub
commit 22abab9473
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -133,13 +133,13 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
handleAppPasswordProtection { handleAppPasswordProtection {
if (it) { if (it) {
mIsPasswordProtectionPending = false mIsPasswordProtectionPending = false
tryloadGallery() tryLoadGallery()
} else { } else {
finish() finish()
} }
} }
} else { } else {
tryloadGallery() tryLoadGallery()
} }
} }
@ -220,7 +220,7 @@ class MainActivity : SimpleActivity(), DirectoryAdapter.DirOperationsListener {
} }
} }
private fun tryloadGallery() { private fun tryLoadGallery() {
handlePermission(PERMISSION_WRITE_STORAGE) { handlePermission(PERMISSION_WRITE_STORAGE) {
if (it) { if (it) {
if (config.showAll) { if (config.showAll) {