Skip to content

Commit 38b71f8

Browse files
rajveermalviyagnprice
authored andcommitted
msglist: Propagate global text styles
1 parent fcc2737 commit 38b71f8

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
@@ -216,7 +216,7 @@ class _MessageListState extends State<MessageList> with PerAccountStoreAwareStat
216216
assert(model != null);
217217
if (!model!.fetched) return const Center(child: CircularProgressIndicator());
218218

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

0 commit comments

Comments
 (0)