Skip to content

Commit 758b254

Browse files
authored
feat: use better icons for different sections (#775)
1 parent 1c07c78 commit 758b254

File tree

5 files changed

+14
-13
lines changed

5 files changed

+14
-13
lines changed

lib/screens/library_page.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,12 +205,13 @@ class _LibraryPageState extends State<LibraryPage> {
205205
context.l10n!.offlineSongs,
206206
onPressed: () =>
207207
NavigationManager.router.go('/library/userSongs/offline'),
208-
cubeIcon: FluentIcons.cellular_off_24_filled,
208+
cubeIcon: FluentIcons.cloud_off_24_filled,
209209
borderRadius: offlineMode.value
210210
? commonCustomBarRadius
211211
: commonCustomBarRadiusLast,
212212
showBuildActions: false,
213213
),
214+
214215

215216
_buildOfflinePlaylistsSection(),
216217

lib/screens/settings_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class SettingsPage extends StatelessWidget {
177177
builder: (_, value, __) {
178178
return CustomBar(
179179
context.l10n!.offlineMode,
180-
FluentIcons.cellular_off_24_regular,
180+
FluentIcons.cloud_off_24_filled,
181181
description: context.l10n!.offlineModeDescription,
182182
trailing: Switch(
183183
value: value,

lib/screens/user_songs_page.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ class _UserSongsPageState extends State<UserSongsPage> {
149149
IconData getIcon(String page) {
150150
return switch (page) {
151151
'liked' => FluentIcons.heart_24_regular,
152-
'offline' => FluentIcons.cellular_off_24_regular,
152+
'offline' => FluentIcons.cloud_off_24_regular,
153153
'recents' => FluentIcons.history_24_regular,
154154
_ => FluentIcons.heart_24_regular,
155155
};

lib/widgets/now_playing/bottom_actions_row.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ class BottomActionsRow extends StatelessWidget {
6666
final actions = <Widget>[
6767
_buildActionButton(
6868
context: context,
69-
icon: FluentIcons.cellular_data_1_24_regular,
70-
activeIcon: FluentIcons.cellular_off_24_regular,
69+
icon: FluentIcons.cloud_arrow_down_24_regular,
70+
activeIcon: FluentIcons.cloud_off_24_filled,
7171
colorScheme: colorScheme,
7272
size: responsiveIconSize,
7373
statusNotifier: songOfflineStatus,
@@ -82,7 +82,7 @@ class BottomActionsRow extends StatelessWidget {
8282
actions.add(
8383
_buildSimpleActionButton(
8484
context: context,
85-
icon: FluentIcons.add_24_regular,
85+
icon: FluentIcons.album_add_24_regular,
8686
colorScheme: colorScheme,
8787
size: responsiveIconSize,
8888
onPressed: () =>

lib/widgets/song_bar.dart

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ class _SongBarState extends State<SongBar> {
422422
value: 'add_to_queue',
423423
child: Row(
424424
children: [
425-
Icon(FluentIcons.add_24_regular, color: colorScheme.primary),
425+
Icon(FluentIcons.text_bullet_list_add_24_regular, color: colorScheme.primary),
426426
const SizedBox(width: 8),
427427
Text(
428428
addToQueueText,
@@ -481,7 +481,7 @@ class _SongBarState extends State<SongBar> {
481481
value: 'add_to_playlist',
482482
child: Row(
483483
children: [
484-
Icon(FluentIcons.add_24_regular, color: colorScheme.primary),
484+
Icon(FluentIcons.album_add_24_regular, color: colorScheme.primary),
485485
const SizedBox(width: 8),
486486
Text(
487487
addToPlaylistText,
@@ -513,8 +513,8 @@ class _SongBarState extends State<SongBar> {
513513
children: [
514514
Icon(
515515
value
516-
? FluentIcons.cellular_off_24_regular
517-
: FluentIcons.cellular_data_1_24_regular,
516+
? FluentIcons.cloud_off_24_filled
517+
: FluentIcons.cloud_arrow_down_24_regular,
518518
color: colorScheme.primary,
519519
),
520520
const SizedBox(width: 8),
@@ -644,7 +644,7 @@ class _OfflineArtwork extends StatelessWidget {
644644
borderRadius: BorderRadius.circular(10),
645645
),
646646
child: Icon(
647-
FluentIcons.cellular_off_24_filled,
647+
FluentIcons.cloud_off_24_filled,
648648
size: 12,
649649
color: colorScheme.onSecondaryContainer,
650650
),
@@ -719,7 +719,7 @@ class _OnlineArtwork extends StatelessWidget {
719719
borderRadius: BorderRadius.circular(10),
720720
),
721721
child: Icon(
722-
FluentIcons.cellular_off_24_filled,
722+
FluentIcons.cloud_off_24_filled,
723723
size: 12,
724724
color: colorScheme.onSecondaryContainer,
725725
),
@@ -782,7 +782,7 @@ void showAddToPlaylistDialog(BuildContext context, dynamic song) {
782782
context: context,
783783
builder: (BuildContext context) {
784784
return AlertDialog(
785-
icon: const Icon(FluentIcons.text_bullet_list_add_24_filled),
785+
icon: const Icon(FluentIcons.album_add_24_filled),
786786
title: Text(context.l10n!.addToPlaylist),
787787
content: Container(
788788
width: double.maxFinite,

0 commit comments

Comments
 (0)