diff --git a/lib/ui/screens/songs.dart b/lib/ui/screens/songs.dart index 81a9418..9a27c3d 100644 --- a/lib/ui/screens/songs.dart +++ b/lib/ui/screens/songs.dart @@ -228,10 +228,7 @@ class _SongListHeaderState extends State { Future fetchSongsToShuffleAll() async { setState(() => _fetchingSongsToShuffle = true); - final songs = await _songProvider.fetchInOrder( - sortField: widget.sortField, - order: widget.sortOrder, - ); + final songs = await _songProvider.fetchRandom(); setState(() => _fetchingSongsToShuffle = false); audioHandler.replaceQueue(songs, shuffle: true); } diff --git a/pubspec.yaml b/pubspec.yaml index aa7a6c0..2d03e1d 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 2.0.0+16 +version: 2.0.2+19 environment: sdk: ">=2.17.0-0 <3.0.0"