Fix incorrect text style in overlay chat

This commit is contained in:
Tommy Chow 2022-05-27 02:20:15 -04:00
parent 8c4e1db9a8
commit 97409b901c
2 changed files with 2 additions and 2 deletions

View file

@ -179,7 +179,7 @@ class _VideoChatState extends State<VideoChat> {
visible: settingsStore.fullScreenChatOverlay,
maintainState: true,
child: DefaultTextStyle(
style: const TextStyle(color: Colors.white),
style: DefaultTextStyle.of(context).style.copyWith(color: Colors.white),
child: landscapeChat,
),
),

View file

@ -35,7 +35,7 @@ SettingsStore _$SettingsStoreFromJson(Map<String, dynamic> json) =>
..emoteScale = (json['emoteScale'] as num?)?.toDouble() ?? 1.0
..emoteAutocomplete = json['emoteAutocomplete'] as bool? ?? true
..landscapeChatWidth =
(json['landscapeChatWidth'] as num?)?.toDouble() ?? 0.35
(json['landscapeChatWidth'] as num?)?.toDouble() ?? 0.3
..landscapeChatLeftSide = json['landscapeChatLeftSide'] as bool? ?? false
..sendCrashLogs = json['sendCrashLogs'] as bool? ?? true
..fullScreen = json['fullScreen'] as bool? ?? false