fix new pipLayout enum casing

This commit is contained in:
Tommy Chow 2024-12-23 14:53:10 -05:00
parent 85d1869969
commit ca9dd32555

View file

@ -342,7 +342,7 @@ class _VideoChatState extends State<VideoChat> {
// If on Android, use PiPSwitcher to enable PiP functionality.
if (Platform.isAndroid) {
return PipWidget(
pipLayout: PipActionsLayout.media_only_pause,
pipLayout: PipActionsLayout.mediaOnlyPause,
onPipAction: (_) => _videoStore.handlePausePlay(),
pipChild: player,
child: videoChat,