diff --git a/lib/desktop/comps/navigation_column.dart b/lib/desktop/comps/navigation_column.dart index 31284b1..ba783a6 100644 --- a/lib/desktop/comps/navigation_column.dart +++ b/lib/desktop/comps/navigation_column.dart @@ -189,7 +189,7 @@ class MyNavListViewState extends State { NavGroup(title: "浏览", icon: CupertinoIcons.compass, items: [ NavItem( title: '歌曲排行榜', - icon: CupertinoIcons.search, + icon: CupertinoIcons.music_note_2, onTap: () { globalSetNavItemSelected("###MusicChart###"); navigatorToPage(const MusicChartPage( @@ -200,7 +200,7 @@ class MyNavListViewState extends State { ), NavItem( title: '浏览歌单', - icon: CupertinoIcons.search, + icon: CupertinoIcons.music_albums, onTap: () { globalSetNavItemSelected("###PlaylistTag###"); navigatorToPage(const PlaylistTagPage( @@ -213,7 +213,7 @@ class MyNavListViewState extends State { NavGroup(title: "搜索", icon: CupertinoIcons.search, items: [ NavItem( title: '搜索单曲', - icon: CupertinoIcons.search, + icon: CupertinoIcons.music_note_2, onTap: () { globalSetNavItemSelected("###SearchSingleMusicAggregator###"); navigatorToPage(const MusicAggregatorSearchPage( @@ -224,7 +224,7 @@ class MyNavListViewState extends State { ), NavItem( title: '搜索歌单', - icon: CupertinoIcons.search, + icon: CupertinoIcons.music_albums, onTap: () { globalSetNavItemSelected("###SearchMusicList###"); navigatorToPage(const PlaylistSearchPage( diff --git a/lib/utils/pick_file.dart b/lib/utils/pick_file.dart index e652dc4..6874b9b 100644 --- a/lib/utils/pick_file.dart +++ b/lib/utils/pick_file.dart @@ -1,10 +1,16 @@ import 'dart:io'; +import 'package:app_rhyme/utils/global_vars.dart'; import 'package:app_rhyme/utils/log_toast.dart'; import 'package:file_picker/file_picker.dart'; import 'package:permission_handler/permission_handler.dart'; Future pickDirectory() async { + if (Platform.isIOS) { + LogToast.info("保存路径", "在IOS上,将自动保存到文件中的AppRhyme目录的Export目录中。", + "[pickDictory]The save path will be automatically set to the Export directory in the AppRhyme directory in Files on iOS."); + return "$globalDocumentPath/app_rhyme/Export"; + } var permission = true; if (Platform.isAndroid) { permission = await Permission.manageExternalStorage.request().isGranted;