From 8c186d7ae677b94ca19ab66901be7a432143a2af Mon Sep 17 00:00:00 2001 From: julian Date: Fri, 20 Oct 2023 10:38:47 -0600 Subject: [PATCH] add fusion tx icon --- assets/svg/tx-cashfusion.svg | 11 ++ .../wallet_view/sub_widgets/tx_icon.dart | 2 +- lib/utilities/assets.dart | 1 + pubspec.yaml | 131 +----------------- 4 files changed, 14 insertions(+), 131 deletions(-) create mode 100644 assets/svg/tx-cashfusion.svg diff --git a/assets/svg/tx-cashfusion.svg b/assets/svg/tx-cashfusion.svg new file mode 100644 index 000000000..d9055b6c6 --- /dev/null +++ b/assets/svg/tx-cashfusion.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/lib/pages/wallet_view/sub_widgets/tx_icon.dart b/lib/pages/wallet_view/sub_widgets/tx_icon.dart index 4ad06f66e..1cff381ee 100644 --- a/lib/pages/wallet_view/sub_widgets/tx_icon.dart +++ b/lib/pages/wallet_view/sub_widgets/tx_icon.dart @@ -42,7 +42,7 @@ class TxIcon extends ConsumerWidget { IThemeAssets assets, ) { if (subType == TransactionSubType.cashFusion) { - return Assets.svg.cashFusion; + return Assets.svg.txCashFusion; } if (!isReceived && subType == TransactionSubType.mint) { diff --git a/lib/utilities/assets.dart b/lib/utilities/assets.dart index 0d7951706..9bb22c805 100644 --- a/lib/utilities/assets.dart +++ b/lib/utilities/assets.dart @@ -206,6 +206,7 @@ class _SVG { String get creditCard => "assets/svg/cc.svg"; String get file => "assets/svg/file.svg"; String get fileUpload => "assets/svg/file-upload.svg"; + String get txCashFusion => "assets/svg/tx-cashfusion.svg"; String get ellipse1 => "assets/svg/Ellipse-43.svg"; String get ellipse2 => "assets/svg/Ellipse-42.svg"; diff --git a/pubspec.yaml b/pubspec.yaml index 95480ff05..372c8588f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -243,136 +243,7 @@ flutter: - assets/images/splash.png - assets/icon/icon.png - google_fonts/ - - assets/svg/circle-check.svg - - assets/svg/clipboard.svg - - assets/images/glasses.png - - assets/images/glasses-hidden.png - - assets/svg/unclaimed.svg - - assets/svg/plus.svg - - assets/svg/gear.svg - - assets/svg/bell.svg - - assets/svg/arrow-left-fa.svg - - assets/svg/copy-fa.svg - - assets/svg/star.svg - - assets/svg/x-circle.svg - - assets/svg/check.svg - - assets/svg/alert-circle.svg - - assets/svg/alert-circle2.svg - - assets/svg/arrow-down-left.svg - - assets/svg/arrow-up-right.svg - - assets/svg/bars.svg - - assets/svg/filter.svg - - assets/svg/pending.svg - - assets/svg/signal-stream.svg - - assets/svg/Ellipse-43.svg - - assets/svg/Ellipse-42.svg - - assets/svg/arrow-rotate.svg - - assets/svg/arrow-rotate2.svg - - assets/svg/qrcode1.svg - - assets/svg/gear-3.svg - - assets/svg/swap.svg - - assets/svg/chevron-down.svg - - assets/svg/chevron-up.svg - - assets/svg/lock-keyhole.svg - - assets/svg/lock-open.svg - - assets/svg/folder-down.svg - - assets/svg/network-wired.svg - - assets/svg/network-wired-2.svg - - assets/svg/address-book.svg - - assets/svg/address-book2.svg - - assets/svg/arrow-right.svg - - assets/svg/delete.svg - - assets/svg/dollar-sign.svg - - assets/svg/sun-bright2.svg - - assets/svg/language2.svg - - assets/svg/pen-solid-fa.svg - - assets/svg/magnifying-glass.svg - - assets/svg/x.svg - - assets/svg/x-fat.svg - - assets/svg/user.svg - - assets/svg/user-plus.svg - - assets/svg/user-minus.svg - - assets/svg/trash.svg - - assets/svg/eye.svg - - assets/svg/eye-slash.svg - - assets/svg/folder.svg - - assets/svg/calendar-days.svg - - assets/svg/circle-question.svg - - assets/svg/info-circle.svg - - assets/svg/key.svg - - assets/svg/node-alt.svg - - assets/svg/signal-problem-alt.svg - - assets/svg/signal-sync-alt.svg - - assets/svg/wallet-settings.svg - - assets/svg/ellipsis-vertical1.svg - - assets/svg/dice-alt.svg - - assets/svg/circle-arrow-up-right2.svg - - assets/svg/loader.svg - - assets/svg/add-backup.svg - - assets/svg/auto-backup.svg - - assets/svg/restore-backup.svg - - assets/svg/sliders-solid.svg - - 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 - - assets/svg/Polygon.svg - - assets/svg/Button.svg - - assets/svg/enabled-button.svg - - assets/svg/lock-circle.svg - - assets/svg/dollar-sign-circle.svg - - assets/svg/language-circle.svg - - assets/svg/rotate-circle.svg - - assets/svg/sun-circle.svg - - assets/svg/node-circle.svg - - assets/svg/address-book-desktop.svg - - assets/svg/about-desktop.svg - - assets/svg/exchange-desktop.svg - - assets/svg/wallet-desktop.svg - - assets/svg/exit-desktop.svg - - assets/svg/keys.svg - - assets/svg/arrow-down.svg - - assets/svg/plus-circle.svg - - assets/svg/circle-plus-filled.svg - - assets/svg/configuration.svg - - assets/svg/tokens.svg - - assets/svg/circle-plus.svg - - assets/svg/robot-head.svg - - assets/svg/whirlpool.svg - - assets/svg/fingerprint.svg - - assets/svg/faceid.svg - - assets/svg/chevron-right.svg - - assets/svg/minimize.svg - - assets/svg/wallet-fa.svg - - assets/svg/exchange-3.svg - - assets/svg/message-question-1.svg - - assets/svg/drd-icon.svg - - assets/svg/box-auto.svg - - assets/svg/framed-address-book.svg - - assets/svg/framed-gear.svg - - assets/svg/list-ul.svg - - assets/svg/cc.svg - - assets/svg/file.svg - - assets/svg/file-upload.svg - - assets/svg/trocador_rating_a.svg - - assets/svg/trocador_rating_b.svg - - assets/svg/trocador_rating_c.svg - - assets/svg/trocador_rating_d.svg - - assets/svg/send.svg - - assets/svg/ordinal.svg - - assets/svg/monkey.svg - - assets/svg/tor.svg - - assets/svg/tor-circle.svg - - assets/svg/connected-button.svg - - assets/svg/connecting-button.svg - - assets/svg/disconnected-button.svg - - assets/svg/up-from-line.svg - - assets/svg/peers.svg - - assets/svg/fusing.svg - - assets/svg/cashfusion-icon.svg + - assets/svg/ # coin control icons - assets/svg/coin_control/