Skip to content

Commit 4e863a7

Browse files
msglist: correctly propogate global text styles
1 parent 745dfac commit 4e863a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/widgets/message_list.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class _MessageListState extends State<MessageList> with PerAccountStoreAwareStat
191191
assert(model != null);
192192
if (!model!.fetched) return const Center(child: CircularProgressIndicator());
193193

194-
return DefaultTextStyle(
194+
return DefaultTextStyle.merge(
195195
// TODO figure out text color -- web is supposedly hsl(0deg 0% 20%),
196196
// but seems much darker than that
197197
style: const TextStyle(color: Color.fromRGBO(0, 0, 0, 1)),

0 commit comments

Comments
 (0)