Camel case fix: tryloadGallery -> tryLoadGallery

This commit is contained in:
Nikola Trubitsyn 2017-12-26 00:42:37 +03:00 committed by GitHub
parent b9b6b80120
commit 0bff18bb2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

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) {