diff --git a/lib/collections/spotube_icons.dart b/lib/collections/spotube_icons.dart index 6de21284..2da09f52 100644 --- a/lib/collections/spotube_icons.dart +++ b/lib/collections/spotube_icons.dart @@ -121,4 +121,6 @@ abstract class SpotubeIcons { static const monitor = FeatherIcons.monitor; static const power = FeatherIcons.power; static const bluetooth = FeatherIcons.bluetooth; + static const folderAdd = FeatherIcons.folderPlus; + static const folderRemove = FeatherIcons.folderMinus; } diff --git a/lib/components/library/user_local_tracks.dart b/lib/components/library/user_local_tracks.dart index 35ab2a4f..554bcf44 100644 --- a/lib/components/library/user_local_tracks.dart +++ b/lib/components/library/user_local_tracks.dart @@ -259,7 +259,7 @@ class UserLocalTracks extends HookConsumerWidget { message: context.l10n.add_library_location, child: IconButton( onPressed: addLocalLibraryLocation, - icon: const Icon(SpotubeIcons.folder), // TODO: use a "folder add" icon + icon: const Icon(SpotubeIcons.folderAdd), // TODO: use a "folder add" icon ), ), ], @@ -302,10 +302,10 @@ class UserLocalTracks extends HookConsumerWidget { style: Theme.of(context).textTheme.titleLarge ), const Expanded(child: SizedBox()), - Tooltip( + if (preferences.downloadLocation != location) Tooltip( message: context.l10n.remove_library_location, child: IconButton( - icon: Icon(SpotubeIcons.trash, color: Colors.red[400]), + icon: Icon(SpotubeIcons.folderRemove, color: Colors.red[400]), onPressed: () => removeLocalLibraryLocation(location), ), ),