Skip to content

Commit

Permalink
chore: main page icon reorder (#986)
Browse files Browse the repository at this point in the history
  • Loading branch information
Feichtmeier authored Oct 27, 2024
1 parent caf95f4 commit e6501f1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 440 deletions.
13 changes: 8 additions & 5 deletions lib/app/view/main_page_icon.dart
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,16 @@ class MainPageIcon extends StatelessWidget with WatchItMixin {
final useMoreAnimations =
watchPropertyValue((SettingsModel m) => m.useMoreAnimations);

if (useMoreAnimations && currentAudioType == audioType) {
if (isPlaying) {
if (currentAudioType == audioType && isPlaying) {
if (useMoreAnimations) {
return const ActiveAudioSignalIndicator(thickness: 1);
} else {
return Icon(
Iconz.playFilled,
color: context.colorScheme.primary,
return Padding(
padding: kMainPageIconPadding,
child: Icon(
Iconz.playFilled,
color: context.colorScheme.primary,
),
);
}
}
Expand Down
Loading

0 comments on commit e6501f1

Please sign in to comment.