diff --git a/packages/app_center/lib/src/snapd/snap_category_enum.dart b/packages/app_center/lib/src/snapd/snap_category_enum.dart index 2525db8a3..098c0e741 100644 --- a/packages/app_center/lib/src/snapd/snap_category_enum.dart +++ b/packages/app_center/lib/src/snapd/snap_category_enum.dart @@ -107,7 +107,7 @@ enum SnapCategoryEnum { artAndDesign => selected ? YaruIcons.rule_and_pen_filled : YaruIcons.rule_and_pen, booksAndReference => selected ? YaruIcons.book_filled : YaruIcons.book, - development => YaruIcons.wrench, + development => selected ? YaruIcons.wrench_filled : YaruIcons.wrench, devicesAndIot => selected ? YaruIcons.chip_filled : YaruIcons.chip, education => selected ? YaruIcons.education_filled : YaruIcons.education, diff --git a/packages/app_center/lib/src/store/store_pages.dart b/packages/app_center/lib/src/store/store_pages.dart index e406cae0e..8348c8df0 100644 --- a/packages/app_center/lib/src/store/store_pages.dart +++ b/packages/app_center/lib/src/store/store_pages.dart @@ -23,7 +23,7 @@ typedef StorePage = ({ final pages = [ ( tileBuilder: (context, selected) => YaruMasterTile( - leading: Icon(ExplorePage.icon(true)), + leading: Icon(ExplorePage.icon(selected)), title: Text(ExplorePage.label(context)), ), pageBuilder: (_) => const ExplorePage(), @@ -31,7 +31,7 @@ final pages = [ for (final category in displayedCategories) ( tileBuilder: (context, selected) => YaruMasterTile( - leading: Icon(category.icon(true)), + leading: Icon(category.icon(selected)), title: Text(category.localize(AppLocalizations.of(context))), ), pageBuilder: (_) => SearchPage(category: category.categoryName), @@ -46,7 +46,7 @@ final pages = [ ), ( tileBuilder: (context, selected) => YaruMasterTile( - leading: Icon(ManagePage.icon(true)), + leading: Icon(ManagePage.icon(selected)), title: Text(ManagePage.label(context)), trailing: Consumer( builder: (context, ref, child) { @@ -62,7 +62,7 @@ final pages = [ ), ( tileBuilder: (context, selected) => YaruMasterTile( - leading: Icon(AboutPage.icon(true)), + leading: Icon(AboutPage.icon(selected)), title: Text(AboutPage.label(context)), ), pageBuilder: (_) => const AboutPage(), diff --git a/packages/app_center/pubspec.yaml b/packages/app_center/pubspec.yaml index 54a129761..132942c75 100644 --- a/packages/app_center/pubspec.yaml +++ b/packages/app_center/pubspec.yaml @@ -47,7 +47,7 @@ dependencies: url_launcher: ^6.2.1 xdg_directories: ^1.0.3 yaru: ^1.2.0 - yaru_icons: ^2.2.2 + yaru_icons: ^2.3.0 yaru_test: ^0.1.5 yaru_widgets: ^3.4.0 yaru_window: ^0.2.0