feat(core/ui_tweaks): remove map reactions

This commit is contained in:
rhunk
2024-08-27 22:09:51 +02:00
parent 0086e19c97
commit 70bd6b7f0e
3 changed files with 8 additions and 2 deletions

View File

@ -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")) ||