File tree 1 file changed +9
-8
lines changed
1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -1079,6 +1079,14 @@ class StreamMessageRecipientHeader extends StatelessWidget {
1079
1079
]));
1080
1080
}
1081
1081
1082
+ final topicWidget = Padding (
1083
+ padding: const EdgeInsets .symmetric (vertical: 11 ),
1084
+ child: Text (topic,
1085
+ // TODO: Give a way to see the whole topic (maybe a
1086
+ // long-press interaction?)
1087
+ overflow: TextOverflow .ellipsis,
1088
+ style: recipientHeaderTextStyle (context)));
1089
+
1082
1090
return GestureDetector (
1083
1091
onTap: () => Navigator .push (context,
1084
1092
MessageListPage .buildRoute (context: context,
@@ -1090,14 +1098,7 @@ class StreamMessageRecipientHeader extends StatelessWidget {
1090
1098
children: [
1091
1099
// TODO(#282): Long stream name will break layout; find a fix.
1092
1100
streamWidget,
1093
- Expanded (
1094
- child: Padding (
1095
- padding: const EdgeInsets .symmetric (vertical: 11 ),
1096
- child: Text (topic,
1097
- // TODO: Give a way to see the whole topic (maybe a
1098
- // long-press interaction?)
1099
- overflow: TextOverflow .ellipsis,
1100
- style: recipientHeaderTextStyle (context)))),
1101
+ Expanded (child: topicWidget),
1101
1102
// TODO topic links?
1102
1103
// Then web also has edit/resolve/mute buttons. Skip those for mobile.
1103
1104
RecipientHeaderDate (message: message),
You can’t perform that action at this time.
0 commit comments