From 441e5f44fe152b0c4625abe6f91470c1005b524f Mon Sep 17 00:00:00 2001 From: Moritz Weber Date: Mon, 3 Oct 2022 10:40:57 +0200 Subject: [PATCH] cleaned up some icons --- src/lib/presentation/pages/album_details_page.dart | 2 +- src/lib/presentation/pages/currently_playing.dart | 2 +- src/lib/presentation/pages/library_folders_page.dart | 6 +++--- src/lib/presentation/pages/library_tab_container.dart | 1 - src/lib/presentation/pages/queue_page.dart | 2 +- src/lib/presentation/pages/settings_page.dart | 2 +- src/lib/presentation/pages/smart_lists_artists_page.dart | 4 ++-- src/lib/presentation/widgets/album_sliver_appbar.dart | 2 +- src/lib/presentation/widgets/artist_header.dart | 2 +- src/lib/presentation/widgets/currently_playing_header.dart | 4 ++-- src/lib/presentation/widgets/song_bottom_sheet.dart | 2 +- .../presentation/widgets/song_customization_buttons.dart | 2 +- src/lib/presentation/widgets/song_list_tile.dart | 6 +++--- src/lib/presentation/widgets/song_list_tile_numbered.dart | 2 +- 14 files changed, 19 insertions(+), 20 deletions(-) diff --git a/src/lib/presentation/pages/album_details_page.dart b/src/lib/presentation/pages/album_details_page.dart index 32295c8..8fa8bad 100644 --- a/src/lib/presentation/pages/album_details_page.dart +++ b/src/lib/presentation/pages/album_details_page.dart @@ -74,7 +74,7 @@ class _AlbumDetailsPageState extends State { if (songsByDisc.length > 1) ListTile( title: Text('Disc ${d + 1}', style: TEXT_HEADER), - leading: const SizedBox(width: 40, child: Icon(Icons.album)), + leading: const SizedBox(width: 40, child: Icon(Icons.album_rounded)), contentPadding: const EdgeInsets.only(left: HORIZONTAL_PADDING), ), if (songsByDisc.length > 1) diff --git a/src/lib/presentation/pages/currently_playing.dart b/src/lib/presentation/pages/currently_playing.dart index d93b03b..d80e505 100644 --- a/src/lib/presentation/pages/currently_playing.dart +++ b/src/lib/presentation/pages/currently_playing.dart @@ -138,7 +138,7 @@ class CurrentlyPlayingPage extends StatelessWidget { child: Padding( padding: EdgeInsets.only(bottom: 8.0), child: Icon( - Icons.expand_less, + Icons.expand_less_rounded, color: Colors.white70, ), ), diff --git a/src/lib/presentation/pages/library_folders_page.dart b/src/lib/presentation/pages/library_folders_page.dart index 73775a2..83a6358 100644 --- a/src/lib/presentation/pages/library_folders_page.dart +++ b/src/lib/presentation/pages/library_folders_page.dart @@ -24,12 +24,12 @@ class LibraryFoldersPage extends StatelessWidget { style: TEXT_HEADER, ), leading: IconButton( - icon: const Icon(Icons.chevron_left), + icon: const Icon(Icons.chevron_left_rounded), onPressed: () => navStore.pop(context), ), actions: [ IconButton( - icon: const Icon(Icons.add), + icon: const Icon(Icons.add_rounded), onPressed: () => _openFilePicker(settingsStore), ), ], @@ -45,7 +45,7 @@ class LibraryFoldersPage extends StatelessWidget { return ListTile( title: Text(path), trailing: IconButton( - icon: const Icon(Icons.delete), + icon: const Icon(Icons.delete_rounded), onPressed: () => settingsStore.removeLibraryFolder(path), ), ); diff --git a/src/lib/presentation/pages/library_tab_container.dart b/src/lib/presentation/pages/library_tab_container.dart index 74c12eb..7db1a97 100644 --- a/src/lib/presentation/pages/library_tab_container.dart +++ b/src/lib/presentation/pages/library_tab_container.dart @@ -37,7 +37,6 @@ class LibraryTabContainer extends StatelessWidget { ], ), ), - // IconButton(icon: const Icon(Icons.more_vert), onPressed: () {}), ], ), ), diff --git a/src/lib/presentation/pages/queue_page.dart b/src/lib/presentation/pages/queue_page.dart index 8d3e6b8..7ef2900 100644 --- a/src/lib/presentation/pages/queue_page.dart +++ b/src/lib/presentation/pages/queue_page.dart @@ -44,7 +44,7 @@ class QueuePage extends StatelessWidget { child: SizedBox( width: 56.0, child: IconButton( - icon: const Icon(Icons.expand_more), + icon: const Icon(Icons.expand_more_rounded), onPressed: () => Navigator.pop(context), ), ), diff --git a/src/lib/presentation/pages/settings_page.dart b/src/lib/presentation/pages/settings_page.dart index 3dfc147..8120cff 100644 --- a/src/lib/presentation/pages/settings_page.dart +++ b/src/lib/presentation/pages/settings_page.dart @@ -57,7 +57,7 @@ class SettingsPage extends StatelessWidget { ), ListTile( title: const Text('Manage library folders'), - trailing: const Icon(Icons.chevron_right), + trailing: const Icon(Icons.chevron_right_rounded), onTap: () => navStore.push( context, MaterialPageRoute( diff --git a/src/lib/presentation/pages/smart_lists_artists_page.dart b/src/lib/presentation/pages/smart_lists_artists_page.dart index f304ba8..df0f483 100644 --- a/src/lib/presentation/pages/smart_lists_artists_page.dart +++ b/src/lib/presentation/pages/smart_lists_artists_page.dart @@ -28,7 +28,7 @@ class SmartListArtistsPage extends StatelessWidget { style: TEXT_HEADER, ), leading: IconButton( - icon: const Icon(Icons.close), + icon: const Icon(Icons.close_rounded), onPressed: () { store.selectedArtists.clear(); store.selectedArtists.addAll(initialSet); @@ -37,7 +37,7 @@ class SmartListArtistsPage extends StatelessWidget { ), actions: [ IconButton( - icon: const Icon(Icons.check), + icon: const Icon(Icons.check_rounded), onPressed: () async { navStore.pop(context); }, diff --git a/src/lib/presentation/widgets/album_sliver_appbar.dart b/src/lib/presentation/widgets/album_sliver_appbar.dart index 369b113..14b8edf 100644 --- a/src/lib/presentation/widgets/album_sliver_appbar.dart +++ b/src/lib/presentation/widgets/album_sliver_appbar.dart @@ -51,7 +51,7 @@ class _AlbumSliverAppBarState extends State { maxHeight: maxHeight, ), leading: IconButton( - icon: const Icon(Icons.chevron_left), + icon: const Icon(Icons.chevron_left_rounded), onPressed: () => navStore.pop(context), ), actions: [ diff --git a/src/lib/presentation/widgets/artist_header.dart b/src/lib/presentation/widgets/artist_header.dart index 0312f3c..22c6bdf 100644 --- a/src/lib/presentation/widgets/artist_header.dart +++ b/src/lib/presentation/widgets/artist_header.dart @@ -25,7 +25,7 @@ class ArtistHeader extends StatelessWidget { color: Colors.white, ), leading: IconButton( - icon: const Icon(Icons.chevron_left), + icon: const Icon(Icons.chevron_left_rounded), onPressed: () => navStore.pop(context), ), flexibleSpace: FlexibleSpaceBar( diff --git a/src/lib/presentation/widgets/currently_playing_header.dart b/src/lib/presentation/widgets/currently_playing_header.dart index 4ad0202..e3fd365 100644 --- a/src/lib/presentation/widgets/currently_playing_header.dart +++ b/src/lib/presentation/widgets/currently_playing_header.dart @@ -18,7 +18,7 @@ class CurrentlyPlayingHeader extends StatelessWidget { return Row( children: [ IconButton( - icon: const Icon(Icons.expand_more), + icon: const Icon(Icons.expand_more_rounded), onPressed: () { Navigator.pop(context); }, @@ -44,7 +44,7 @@ class CurrentlyPlayingHeader extends StatelessWidget { ), ), IconButton( - icon: const Icon(Icons.more_vert), + icon: const Icon(Icons.more_vert_rounded), onPressed: () => onMoreTap(context), ) ], diff --git a/src/lib/presentation/widgets/song_bottom_sheet.dart b/src/lib/presentation/widgets/song_bottom_sheet.dart index b389c5a..5154691 100644 --- a/src/lib/presentation/widgets/song_bottom_sheet.dart +++ b/src/lib/presentation/widgets/song_bottom_sheet.dart @@ -221,7 +221,7 @@ class _SongBottomSheetState extends State { else setState(() => optionIndex = 1); }, - icon: const Icon(Icons.link), + icon: const Icon(Icons.link_rounded), color: utils.linkColor(song), ), LikeButton(song: song), diff --git a/src/lib/presentation/widgets/song_customization_buttons.dart b/src/lib/presentation/widgets/song_customization_buttons.dart index 2309b3d..f1e85e6 100644 --- a/src/lib/presentation/widgets/song_customization_buttons.dart +++ b/src/lib/presentation/widgets/song_customization_buttons.dart @@ -30,7 +30,7 @@ class SongCustomizationButtons extends StatelessWidget { children: [ IconButton( icon: Icon( - song.next || song.previous ? Icons.link : Icons.link_off, + song.next || song.previous ? Icons.link_rounded : Icons.link_off_rounded, color: linkColor(song), ), iconSize: 20.0, diff --git a/src/lib/presentation/widgets/song_list_tile.dart b/src/lib/presentation/widgets/song_list_tile.dart index 2a189a3..c194777 100644 --- a/src/lib/presentation/widgets/song_list_tile.dart +++ b/src/lib/presentation/widgets/song_list_tile.dart @@ -65,7 +65,7 @@ class SongListTile extends StatelessWidget { subtitleWidget = Row( children: [ const Icon( - Icons.favorite, + Icons.favorite_rounded, size: 12.0, ), const SizedBox(width: 2.0), @@ -75,7 +75,7 @@ class SongListTile extends StatelessWidget { ), const SizedBox(width: 8.0), const Icon( - Icons.play_arrow, + Icons.play_arrow_rounded, size: 12.0, ), const SizedBox(width: 2.0), @@ -133,7 +133,7 @@ class SongListTile extends StatelessWidget { ), if (!isSelectEnabled) IconButton( - icon: const Icon(Icons.more_vert), + icon: const Icon(Icons.more_vert_rounded), iconSize: 20.0, onPressed: () => onTapMore(), ) diff --git a/src/lib/presentation/widgets/song_list_tile_numbered.dart b/src/lib/presentation/widgets/song_list_tile_numbered.dart index 542bf1f..cc72b1d 100644 --- a/src/lib/presentation/widgets/song_list_tile_numbered.dart +++ b/src/lib/presentation/widgets/song_list_tile_numbered.dart @@ -66,7 +66,7 @@ class SongListTileNumbered extends StatelessWidget { ), if (!isSelectEnabled) IconButton( - icon: const Icon(Icons.more_vert), + icon: const Icon(Icons.more_vert_rounded), iconSize: 20.0, onPressed: () => onTapMore(), )