feat(core/ui_tweaks): remove map reactions
This commit is contained in:
@@ -1262,7 +1262,8 @@
|
||||
"hide_unread_chat_hint": "Remove Unread Chat Hint",
|
||||
"hide_post_to_story_buttons": "Remove Post to Story buttons before sending a Snap",
|
||||
"hide_billboard_prompt": "Remove Billboard Prompt In Friends Feed",
|
||||
"hide_snapchat_plus_gift_reminders": "Remove Snapchat Plus gift reminders in conversations"
|
||||
"hide_snapchat_plus_gift_reminders": "Remove Snapchat Plus gift reminders in conversations",
|
||||
"hide_map_reactions": "Remove Map Reactions"
|
||||
},
|
||||
"hide_story_suggestions": {
|
||||
"hide_friend_suggestions": "Hide friend suggestions",
|
||||
|
||||
@@ -50,7 +50,8 @@ class UserInterfaceTweaks : ConfigContainer() {
|
||||
"hide_unread_chat_hint",
|
||||
"hide_post_to_story_buttons",
|
||||
"hide_billboard_prompt",
|
||||
"hide_snapchat_plus_gift_reminders"
|
||||
"hide_snapchat_plus_gift_reminders",
|
||||
"hide_map_reactions",
|
||||
) { requireRestart() }
|
||||
val operaMediaQuickInfo = boolean("opera_media_quick_info") { requireRestart() }
|
||||
val oldBitmojiSelfie = unique("old_bitmoji_selfie", "2d", "3d") { requireCleanCache() }
|
||||
|
||||
@@ -167,6 +167,10 @@ class UITweaks : Feature("UITweaks") {
|
||||
}
|
||||
}
|
||||
|
||||
if (event.parent.id == getId("map_reactions_layout", "id") && hiddenElements.contains("hide_map_reactions")) {
|
||||
hideView(view)
|
||||
}
|
||||
|
||||
if (
|
||||
((viewId == getId("post_tool", "id") || viewId == getId("story_button", "id")) && hiddenElements.contains("hide_post_to_story_buttons")) ||
|
||||
(viewId == chatNoteRecordButton && hiddenElements.contains("hide_voice_record_button")) ||
|
||||
|
||||
Reference in New Issue
Block a user