Skip to content

Commit

Permalink
added debug mode flag in zoom controls
Browse files Browse the repository at this point in the history
  • Loading branch information
Decoder07 committed Aug 29, 2024
1 parent ade7f92 commit c9c9020
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class _LocalPeerBottomSheetState extends State<LocalPeerBottomSheet> {
@override
Widget build(BuildContext context) {
return FractionallySizedBox(
heightFactor: widget.isInsetTile ? 0.46 : 0.4,
heightFactor: (AppDebugConfig.isDebugMode && widget.meetingStore.isVideoOn)?(widget.isInsetTile ? 0.46 : 0.4):(widget.isInsetTile ? 0.26 : 0.2),
child: Padding(
padding: const EdgeInsets.only(top: 16.0, left: 24, right: 24),
child: Column(
Expand Down Expand Up @@ -229,6 +229,7 @@ class _LocalPeerBottomSheetState extends State<LocalPeerBottomSheet> {
widget.meetingStore.peerTracks.length > 1
? HMSThemeColors.onSurfaceHighEmphasis
: HMSThemeColors.onSurfaceLowEmphasis)),
if(AppDebugConfig.isDebugMode && widget.meetingStore.isVideoOn)
ListTile(
horizontalTitleGap: 2,
onTap: () async {
Expand All @@ -252,6 +253,8 @@ class _LocalPeerBottomSheetState extends State<LocalPeerBottomSheet> {
title: HMSSubheadingText(
text: "Zoom In (2x)",
textColor: HMSThemeColors.onSurfaceHighEmphasis)),

if(AppDebugConfig.isDebugMode && widget.meetingStore.isVideoOn)
ListTile(
horizontalTitleGap: 2,
onTap: () async {
Expand Down

0 comments on commit c9c9020

Please sign in to comment.