From c2efb214afa9f712c7ac112899c7d9b730e10de0 Mon Sep 17 00:00:00 2001
From: fiaxh <git@lightrise.org>
Date: Mon, 25 Sep 2023 15:02:03 +0200
Subject: conversation details: Fix for libadwaita < 1.4

---
 main/src/windows/conversation_details.vala | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'main/src')

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() {
-- 
cgit v1.2.3-70-g09d2