Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Feichtmeier committed Feb 23, 2023
1 parent 6088e34 commit ad9127b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion lib/view/pages/privacy/house_keeping_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ class _TrashButton extends StatelessWidget {
child: OutlinedButton(
style: OutlinedButton.styleFrom(padding: const EdgeInsets.all(0)),
onPressed: onPressed,
child: Icon(YaruIcons.trash, color: Theme.of(context).colorScheme.error),
child:
Icon(YaruIcons.trash, color: Theme.of(context).colorScheme.error),
),
);
}
Expand Down
5 changes: 3 additions & 2 deletions lib/view/selectable_svg_image.dart
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ class SelectableSvgImage extends StatelessWidget {
borderRadius: BorderRadius.circular(4),
child: SvgPicture.asset(
path,
color:
selected ? selectedColor : Theme.of(context).colorScheme.background,
color: selected
? selectedColor
: Theme.of(context).colorScheme.background,
colorBlendMode: selected ? BlendMode.srcIn : BlendMode.color,
height: height,
),
Expand Down

0 comments on commit ad9127b

Please sign in to comment.