diff --git a/app/src/main/kotlin/com/simplemobiletools/filemanager/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/filemanager/activities/MainActivity.kt index d2035d45..64e94b10 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/activities/MainActivity.kt @@ -106,6 +106,8 @@ class MainActivity : SimpleActivity(), ItemsFragment.ItemInteractionListener, Br override fun onOptionsItemSelected(item: MenuItem): Boolean { when (item.itemId) { + R.id.go_home -> goHome() + R.id.set_as_home -> setAsHome() R.id.settings -> startActivity(Intent(this, SettingsActivity::class.java)) R.id.about -> launchAbout() else -> return super.onOptionsItemSelected(item) @@ -113,7 +115,15 @@ class MainActivity : SimpleActivity(), ItemsFragment.ItemInteractionListener, Br return true } - fun launchAbout() { + private fun goHome() { + + } + + private fun setAsHome() { + + } + + private fun launchAbout() { startAboutActivity(R.string.app_name, LICENSE_KOTLIN or LICENSE_MULTISELECT, BuildConfig.VERSION_NAME) } @@ -161,7 +171,7 @@ class MainActivity : SimpleActivity(), ItemsFragment.ItemInteractionListener, Br } } - fun changePath(pickedPath: String) { + private fun changePath(pickedPath: String) { mBasePath = pickedPath openPath(pickedPath) } diff --git a/app/src/main/res/menu/menu.xml b/app/src/main/res/menu/menu.xml index 815619cd..cb5c554b 100644 --- a/app/src/main/res/menu/menu.xml +++ b/app/src/main/res/menu/menu.xml @@ -1,6 +1,15 @@ + + Dateimanager Drücke erneut zum Schließen No app for opening this type of file is available + Go to home folder Set at home folder Home folder updated diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 4819405c..78653c5d 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -4,6 +4,7 @@ Administrador de archivos Pulse otra vez volver para salir No app for opening this type of file is available + Go to home folder Set at home folder Home folder updated diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index 0791f3c3..eb8fc3f2 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -4,6 +4,7 @@ Gestionnaire de fichiers Appuyer à nouveau sur le bouton retour pour quitter No app for opening this type of file is available + Go to home folder Set at home folder Home folder updated diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index b85a8e34..e15009f4 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -4,6 +4,7 @@ File Manager Premi di nuovo indietro per uscire No app for opening this type of file is available + Go to home folder Set at home folder Home folder updated diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index d2f22fec..53d445f8 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -4,6 +4,7 @@ ファイル マネージャー もう一度戻るを押すと終了します No app for opening this type of file is available + Go to home folder Set at home folder Home folder updated diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index f81a416b..33d7b972 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -4,6 +4,7 @@ Gestor de ficheiros Prima novamente para sair No app for opening this type of file is available + Go to home folder Set at home folder Home folder updated diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index f8b1efa5..c242b95e 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -4,6 +4,7 @@ Файловый менеджер Нажмите "назад" ещё раз, чтобы выйти Не найдено приложение для открытия файлов такого типа + Go to home folder Set at home folder Home folder updated diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 36c75929..320392d6 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -4,6 +4,7 @@ Filhanterare Tryck på bakåt igen för att avsluta No app for opening this type of file is available + Go to home folder Set at home folder Home folder updated diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index 7d89194f..c0d27002 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -4,6 +4,7 @@ Dosya Yöneticisi Çıkmak için tekrar basın No app for opening this type of file is available + Go to home folder Set at home folder Home folder updated diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 80aa2654..395abfa1 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -4,6 +4,7 @@ File Manager Press back again to exit No app for opening this type of file is available + Go to home folder Set at home folder Home folder updated