aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/data/conversation_details.ui1
-rw-r--r--main/src/windows/conversation_details.vala5
2 files changed, 5 insertions, 1 deletions
diff --git a/main/data/conversation_details.ui b/main/data/conversation_details.ui
index 1347ad2b..4229d875 100644
--- a/main/data/conversation_details.ui
+++ b/main/data/conversation_details.ui
@@ -99,7 +99,6 @@
<object class="AdwButtonContent" id="notification_button_menu_content">
<property name="icon-name">notification-symbolic</property>
<property name="label">Mute</property>
- <property name="can-shrink">True</property>
</object>
</child>
<child>
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() {