Skip to content

Commit

Permalink
fix(Android): round icons, darker dark theme, improved podcast tiles (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Feichtmeier authored Aug 31, 2024
1 parent 549f352 commit 282685a
Show file tree
Hide file tree
Showing 16 changed files with 123 additions and 116 deletions.
2 changes: 1 addition & 1 deletion lib/app/view/master_detail_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ List<MasterItem> createMasterItems({required LibraryModel libraryModel}) {
pageId: kSearchPageId,
),
MasterItem(
titleBuilder: (context) => Text(context.l10n.localAudio),
titleBuilder: (context) => Text(context.l10n.local),
pageBuilder: (_) => const LocalAudioPage(),
iconBuilder: (selected) => LocalAudioPageIcon(
selected: selected,
Expand Down
15 changes: 9 additions & 6 deletions lib/common/view/header_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,11 @@ class HeaderBar extends StatelessWidget

if (isMobile) {
return AppBar(
backgroundColor: backgroundColor,
titleSpacing: titleSpacing,
centerTitle: true,
leading: leading,
title: title,
title: title ?? const Text(''),
actions: actions,
foregroundColor: foregroundColor,
);
Expand Down Expand Up @@ -99,7 +100,7 @@ class HeaderBar extends StatelessWidget
...?actions,
],
leading: !context.showMasterPanel && Platform.isMacOS ? null : leading,
title: title,
title: title ?? const Text(''),
border: BorderSide.none,
backgroundColor:
backgroundColor ?? context.theme.scaffoldBackgroundColor,
Expand Down Expand Up @@ -203,10 +204,12 @@ class SidebarButton extends StatelessWidget {
masterScaffoldKey.currentState?.openDrawer();
}
},
icon: Icon(
Iconz().sidebar,
size: iconSize,
),
icon: Iconz().sidebar == Iconz().materialSidebar
? Transform.flip(flipX: true, child: Icon(Iconz().materialSidebar))
: Icon(
Iconz().sidebar,
size: iconSize,
),
),
);
}
Expand Down
Loading

0 comments on commit 282685a

Please sign in to comment.