Fix chat overlay text color on light mode (#116)

This commit is contained in:
Tommy Chow 2022-05-24 01:02:33 -04:00
parent 2755e32c29
commit effabf53b9
2 changed files with 9 additions and 4 deletions

View file

@ -118,9 +118,11 @@ class VideoOverlay extends StatelessWidget {
);
final chatOverlayButton = IconButton(
tooltip: 'Toggle Chat Overlay',
onPressed: () => videoStore.settingsStore.fullScreenChatOverlay = !videoStore.settingsStore.fullScreenChatOverlay,
icon: const Icon(Icons.chat_bubble_outline));
tooltip: 'Toggle Chat Overlay',
onPressed: () => videoStore.settingsStore.fullScreenChatOverlay = !videoStore.settingsStore.fullScreenChatOverlay,
icon: const Icon(Icons.chat_bubble_outline),
color: Colors.white,
);
final refreshButton = IconButton(
tooltip: 'Refresh',

View file

@ -180,7 +180,10 @@ class _VideoChatState extends State<VideoChat> {
child: Visibility(
visible: settingsStore.fullScreenChatOverlay,
maintainState: true,
child: landscapeChat,
child: DefaultTextStyle(
style: const TextStyle(color: Colors.white),
child: landscapeChat,
),
),
),
],