Skip to content

Commit

Permalink
feat: long press lyrics to enter fullscreen
Browse files Browse the repository at this point in the history
ref #171
  • Loading branch information
MSOB7YY committed May 18, 2024
1 parent 0b00181 commit bb1dc7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions lib/packages/miniplayer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,10 @@ class _AnimatingTrackImage extends StatelessWidget {
Lyrics.inst.updateLyrics(track);
}
: null,
child: GestureDetector(
onLongPress: () {
Lyrics.inst.lrcViewKey?.currentState?.enterFullScreen();
},
onScaleStart: (details) {
final lrcState = Lyrics.inst.lrcViewKey?.currentState;
final lrcVisible = lrcState != null;
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: namida
description: A Beautiful and Feature-rich Music Player, With YouTube & Video Support Built in Flutter
publish_to: "none"
version: 2.4.44-beta+240518208
version: 2.4.45-beta+240518209

environment:
sdk: ">=3.1.4 <4.0.0"
Expand Down

0 comments on commit bb1dc7d

Please sign in to comment.