From dd37321626e6e5d604f12d7ffb00eeb789df0d5f Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Sun, 21 Nov 2021 22:14:23 -0800 Subject: Change basse url for menu --- app/src/main/kotlin/com/pitchedapps/frost/facebook/FbItem.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbItem.kt b/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbItem.kt index 9b08c775..5d4df797 100644 --- a/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbItem.kt +++ b/app/src/main/kotlin/com/pitchedapps/frost/facebook/FbItem.kt @@ -46,7 +46,12 @@ enum class FbItem( FRIENDS(R.string.friends, GoogleMaterial.Icon.gmd_person_add, "friends/center/requests"), GROUPS(R.string.groups, GoogleMaterial.Icon.gmd_group, "groups"), MARKETPLACE(R.string.marketplace, GoogleMaterial.Icon.gmd_store, "marketplace"), - MENU(R.string.menu, GoogleMaterial.Icon.gmd_menu, "settings"), + /* + * Unlike other urls, menus cannot be linked directly as it is a soft reference. Instead, we can + * pick any url with the blue bar and manually click to enter the menu. + * The notifications page was picked arbitrarily as I assume it has the smallest loading footprint. + */ + MENU(R.string.menu, GoogleMaterial.Icon.gmd_menu, "notifications.php"), MESSAGES(R.string.messages, MaterialDesignIconic.Icon.gmi_comments, "messages"), MESSENGER(R.string.messenger, CommunityMaterial.Icon2.cmd_facebook_messenger, "", prefix = HTTPS_MESSENGER_COM), NOTES(R.string.notes, CommunityMaterial.Icon3.cmd_note, "notes"), -- cgit v1.2.3