🐛 Fix colors difference
This commit is contained in:
parent
541df5c3bc
commit
155f7c7999
@ -121,10 +121,8 @@ abstract class _ParticipantWidgetState<T extends ParticipantWidget> extends Stat
|
||||
|
||||
@override
|
||||
Widget build(BuildContext ctx) {
|
||||
return Container(
|
||||
child: Stack(
|
||||
return Stack(
|
||||
children: [
|
||||
// Video
|
||||
InkWell(
|
||||
onTap: () => setState(() => _visible = !_visible),
|
||||
child: _activeVideoTrack != null && !_activeVideoTrack!.muted
|
||||
@ -145,7 +143,6 @@ abstract class _ParticipantWidgetState<T extends ParticipantWidget> extends Stat
|
||||
participant: widget.participant,
|
||||
),
|
||||
),
|
||||
// Bottom bar
|
||||
Align(
|
||||
alignment: Alignment.bottomCenter,
|
||||
child: Column(
|
||||
@ -165,7 +162,6 @@ abstract class _ParticipantWidgetState<T extends ParticipantWidget> extends Stat
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -239,7 +235,7 @@ class RemoteTrackPublicationMenuWidget extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) => Material(
|
||||
color: Colors.black.withOpacity(0.3),
|
||||
color: Theme.of(context).colorScheme.onSurface.withOpacity(0.75),
|
||||
child: PopupMenuButton<Function>(
|
||||
tooltip: 'Subscribe menu',
|
||||
icon: Icon(icon,
|
||||
|
@ -111,7 +111,7 @@ class _ParticipantStatsWidgetState extends State<ParticipantStatsWidget> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container(
|
||||
color: Colors.black.withOpacity(0.3),
|
||||
color: Theme.of(context).colorScheme.onSurface.withOpacity(0.75),
|
||||
padding: const EdgeInsets.symmetric(
|
||||
vertical: 8,
|
||||
horizontal: 8,
|
||||
|
Loading…
Reference in New Issue
Block a user