Skip to content

Commit

Permalink
feat: open fullscreen on double tapping video
Browse files Browse the repository at this point in the history
(local miniplayer)
  • Loading branch information
MSOB7YY committed Oct 22, 2023
1 parent c49c6b0 commit c59229f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/packages/miniplayer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2095,9 +2095,12 @@ class _AnimatingTrackImage extends StatelessWidget {
child: LyricsWrapper(
track: track,
cp: cp,
child: const NamidaVideoWidget(
key: Key('video_widget'),
enableControls: false,
child: GestureDetector(
onDoubleTap: () => VideoController.inst.toggleFullScreenVideoView(),
child: const NamidaVideoWidget(
key: Key('video_widget'),
enableControls: false,
),
),
),
)
Expand Down

0 comments on commit c59229f

Please sign in to comment.