aboutsummaryrefslogtreecommitdiff
path: root/main/src
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2023-09-25 15:02:03 +0200
committerfiaxh <git@lightrise.org>2023-09-25 15:02:03 +0200
commitc2efb214afa9f712c7ac112899c7d9b730e10de0 (patch)
treeafc9252248d6ea3230188610cecb45b8b7037583 /main/src
parente2c34bf2235c9f85fc91de9c0f1b74858f4ef89e (diff)
downloaddino-c2efb214afa9f712c7ac112899c7d9b730e10de0.tar.gz
dino-c2efb214afa9f712c7ac112899c7d9b730e10de0.zip
conversation details: Fix for libadwaita < 1.4
Diffstat (limited to 'main/src')
-rw-r--r--main/src/windows/conversation_details.vala5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/src/windows/conversation_details.vala b/main/src/windows/conversation_details.vala
index 6fb66a1c..099412d1 100644
--- a/main/src/windows/conversation_details.vala
+++ b/main/src/windows/conversation_details.vala
@@ -46,6 +46,11 @@ namespace Dino.Ui.ConversationDetails {
model.encryption_rows.items_changed.connect(create_preferences_rows);
model.settings_rows.items_changed.connect(create_preferences_rows);
model.notify["room-configuration-rows"].connect(create_preferences_rows);
+
+#if Adw_1_4
+ // TODO: replace with putting buttons in new line on small screens
+ notification_button_menu_content.can_shrink = true;
+#endif
}
private void update_pinned_button() {