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 1eadb2f4..78d14025 100644 --- a/app/src/main/kotlin/com/simplemobiletools/filemanager/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/filemanager/activities/MainActivity.kt @@ -116,6 +116,7 @@ class MainActivity : SimpleActivity(), ItemsFragment.ItemInteractionListener, Br R.id.go_home -> goHome() R.id.add_favorite -> addFavorite() R.id.remove_favorite -> removeFavorite() + R.id.go_to_favorite -> goToFavorite() R.id.set_as_home -> setAsHome() R.id.settings -> startActivity(Intent(this, SettingsActivity::class.java)) R.id.about -> launchAbout() @@ -138,6 +139,10 @@ class MainActivity : SimpleActivity(), ItemsFragment.ItemInteractionListener, Br invalidateOptionsMenu() } + private fun goToFavorite() { + + } + private fun setAsHome() { config.homeFolder = currentPath toast(R.string.home_folder_updated) diff --git a/app/src/main/res/menu/menu.xml b/app/src/main/res/menu/menu.xml index 55dffb7f..441d872d 100644 --- a/app/src/main/res/menu/menu.xml +++ b/app/src/main/res/menu/menu.xml @@ -16,6 +16,10 @@ android:icon="@drawable/ic_star_on" android:title="@string/remove_from_favorites" app:showAsAction="ifRoom"/> + Add to favorites Remove from favorites Manage favorites + Go to favorite diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 5dc4407d..83f2f1cf 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -13,6 +13,7 @@ Add to favorites Remove from favorites Manage favorites + Go to favorite diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index bf2367fd..0b00a5e9 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -13,6 +13,7 @@ Ajouter aux favoris Enlever des favoris Manage favorites + Go to favorite diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 47f16642..76a38f7e 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -13,6 +13,7 @@ Add to favorites Remove from favorites Manage favorites + Go to favorite diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index e97468dc..629c1c2d 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -13,6 +13,7 @@ Add to favorites Remove from favorites Manage favorites + Go to favorite diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index a4593e41..93981007 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -13,6 +13,7 @@ Adicionar aos favoritos Remover dos favoritos Manage favorites + Go to favorite diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 75d7eeba..fe4295fb 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -13,6 +13,7 @@ Добавить в избранное Убрать из избранного Manage favorites + Go to favorite diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 626488b3..d15885bb 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -13,6 +13,7 @@ Lägg till favoriter Ta bort från favoriter Manage favorites + Go to favorite diff --git a/app/src/main/res/values-tr/strings.xml b/app/src/main/res/values-tr/strings.xml index fa588489..cecd0a31 100644 --- a/app/src/main/res/values-tr/strings.xml +++ b/app/src/main/res/values-tr/strings.xml @@ -13,6 +13,7 @@ Favorilere ekle Favorilerden kaldır Manage favorites + Go to favorite diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 88ca807f..daa56d7d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -13,6 +13,7 @@ Add to favorites Remove from favorites Manage favorites + Go to favorite