Skip to content

Commit

Permalink
fix: theme button
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucisokiu committed Dec 16, 2024
1 parent 9a70160 commit 908963c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import 'package:flutter/material.dart';
import 'package:sizer/sizer.dart';
import 'package:superellipse_shape/superellipse_shape.dart';

import 'package:waterbus/core/app/colors/app_color.dart';
import 'package:waterbus/core/utils/gesture/gesture_wrapper.dart';

class CallActionButton extends StatelessWidget {
Expand Down Expand Up @@ -46,7 +45,7 @@ class CallActionButton extends StatelessWidget {
alignment: Alignment.center,
child: Icon(
icon,
color: iconColor ?? mCL,
color: iconColor ?? Theme.of(context).iconTheme.color,
size: iconSize ?? 18.sp,
),
),
Expand Down
2 changes: 2 additions & 0 deletions lib/features/meeting/presentation/widgets/meeting_body.dart
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ class _MeetingBodyState extends State<MeetingBody> {
CallActionButton(
icon: PhosphorIcons.signOut(),
backgroundColor: Colors.red,
iconColor: mCL,
onTap: () {
AppBloc.meetingBloc.add(const LeaveMeetingEvent());
},
Expand All @@ -346,6 +347,7 @@ class _MeetingBodyState extends State<MeetingBody> {
CallActionButton(
icon: PhosphorIcons.signOut(),
backgroundColor: Colors.red,
iconColor: mCL,
onTap: () {
AppBloc.meetingBloc.add(const LeaveMeetingEvent());
},
Expand Down

0 comments on commit 908963c

Please sign in to comment.