diff --git a/assets/svg/anonymize.svg b/assets/svg/anonymize.svg new file mode 100644 index 000000000..676501302 --- /dev/null +++ b/assets/svg/anonymize.svg @@ -0,0 +1,83 @@ + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + diff --git a/lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/more_features/more_features_dialog.dart b/lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/more_features/more_features_dialog.dart index 7d52275d8..1549bf1c9 100644 --- a/lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/more_features/more_features_dialog.dart +++ b/lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/more_features/more_features_dialog.dart @@ -69,7 +69,7 @@ class _MoreFeaturesDialogState extends ConsumerState { _MoreFeaturesItem( label: "Anonymize funds", detail: "Anonymize funds", - iconAsset: Assets.svg.anonymize, + iconAsset: Assets.svg.recycle, onPressed: () => widget.onAnonymizeAllPressed?.call(), ), if (manager.hasWhirlpoolSupport) @@ -143,15 +143,11 @@ class _MoreFeaturesItem extends StatelessWidget { child: Center( child: SvgPicture.asset( iconAsset, - width: - iconAsset == Assets.svg.anonymize ? iconSizeBG : iconSize, - height: - iconAsset == Assets.svg.anonymize ? iconSizeBG : iconSize, - color: iconAsset == Assets.svg.anonymize - ? null - : Theme.of(context) - .extension()! - .settingsIconIcon, + width: iconSize, + height: iconSize, + color: Theme.of(context) + .extension()! + .settingsIconIcon, ), ), ), diff --git a/lib/utilities/assets.dart b/lib/utilities/assets.dart index 9623006e0..e9ea7ad58 100644 --- a/lib/utilities/assets.dart +++ b/lib/utilities/assets.dart @@ -165,6 +165,7 @@ class _SVG { String get questionMessage => "assets/svg/message-question.svg"; String get envelope => "assets/svg/envelope.svg"; String get share => "assets/svg/share-2.svg"; + String get recycle => "assets/svg/anonymize.svg"; String get anonymize => "assets/svg/tx-icon-anonymize.svg"; String get anonymizePending => "assets/svg/tx-icon-anonymize-pending.svg"; String get anonymizeFailed => "assets/svg/tx-icon-anonymize-failed.svg"; diff --git a/pubspec.yaml b/pubspec.yaml index 9cd249b2f..5fe82a0c8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -288,6 +288,7 @@ flutter: - assets/svg/message-question.svg - assets/svg/envelope.svg - assets/svg/share-2.svg + - assets/svg/anonymize.svg - assets/svg/tx-icon-anonymize.svg - assets/svg/tx-icon-anonymize-pending.svg - assets/svg/tx-icon-anonymize-failed.svg