Skip to content

Commit

Permalink
[*] fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
heng30 committed May 23, 2024
1 parent 1627f65 commit 02af53f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/models/playlist_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,9 @@ class PlaylistController extends GetxController {
static Future<List<Song>> loadLocal() async {
FilePickerResult? result = await FilePicker.platform.pickFiles(
allowMultiple: true,
type: FileType.custom,
allowedExtensions: ['mp3', 'mp4', 'm4s', 'wav', 'flac', 'ogg'],
type: FileType.any,
// type: FileType.custom,
// allowedExtensions: ['mp3', 'mp4', 'm4s', 'wav', 'flac', 'ogg'],
initialDirectory: Get.find<FindController>().downloadDir,
);

Expand Down

0 comments on commit 02af53f

Please sign in to comment.