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 b44a7175..4f91c7d8 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.add_favorite -> addFavorite()
+ R.id.remove_favorite -> removeFavorite()
R.id.set_as_home -> setAsHome()
R.id.settings -> startActivity(Intent(this, SettingsActivity::class.java))
R.id.about -> launchAbout()
@@ -118,6 +120,14 @@ class MainActivity : SimpleActivity(), ItemsFragment.ItemInteractionListener, Br
openPath(config.homeFolder)
}
+ private fun addFavorite() {
+
+ }
+
+ private fun removeFavorite() {
+
+ }
+
private fun setAsHome() {
config.homeFolder = getCurrenPath()
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 cb5c554b..55dffb7f 100644
--- a/app/src/main/res/menu/menu.xml
+++ b/app/src/main/res/menu/menu.xml
@@ -6,6 +6,16 @@
android:icon="@drawable/ic_home"
android:title="@string/go_to_home_folder"
app:showAsAction="ifRoom"/>
+
+