From 4f176ae8ad0e4e03db6688381374850f1e6b2d5f Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Fri, 13 Mar 2020 20:29:50 +0100 Subject: [PATCH] Move notify button to the left --- lib/components/list_items/chat_list_item.dart | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/lib/components/list_items/chat_list_item.dart b/lib/components/list_items/chat_list_item.dart index ed82a21cc..cea4b74f2 100644 --- a/lib/components/list_items/chat_list_item.dart +++ b/lib/components/list_items/chat_list_item.dart @@ -139,14 +139,12 @@ class ChatListItem extends StatelessWidget { leading: Avatar(room.avatar, room.displayname), title: Row( children: [ - Expanded( - child: Text( - room.getLocalizedDisplayname(context), - maxLines: 1, - overflow: TextOverflow.ellipsis, - ), + Text( + room.getLocalizedDisplayname(context), + maxLines: 1, + overflow: TextOverflow.ellipsis, ), - SizedBox(width: 16), + SizedBox(width: 4), room.pushRuleState == PushRuleState.notify ? Container() : Icon( @@ -154,7 +152,7 @@ class ChatListItem extends StatelessWidget { color: Colors.grey[400], size: 16, ), - SizedBox(width: 4), + Spacer(), Text( room.timeCreated.localizedTimeShort(context), style: TextStyle(