From dbc34168efad8af85bbb7857853423fb8cfc29ed Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 24 Apr 2023 12:18:50 -0600 Subject: [PATCH] arrow rotate svg clean up --- assets/svg/rotate-exclamation.svg | 3 --- .../restore_wallet_view/sub_widgets/restoring_dialog.dart | 4 ++-- .../global_settings_view/global_settings_view.dart | 2 +- .../sub_views/stack_restore_progress_view.dart | 4 ++-- .../sub_widgets/rescanning_dialog.dart | 2 +- .../wallet_settings_view/wallet_settings_view.dart | 2 +- .../dialogs/cancelling_transaction_progress_dialog.dart | 2 +- lib/utilities/assets.dart | 3 +-- 8 files changed, 9 insertions(+), 13 deletions(-) delete mode 100644 assets/svg/rotate-exclamation.svg diff --git a/assets/svg/rotate-exclamation.svg b/assets/svg/rotate-exclamation.svg deleted file mode 100644 index 6b6064125..000000000 --- a/assets/svg/rotate-exclamation.svg +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/lib/pages/add_wallet_views/restore_wallet_view/sub_widgets/restoring_dialog.dart b/lib/pages/add_wallet_views/restore_wallet_view/sub_widgets/restoring_dialog.dart index e3630b922..4836ab885 100644 --- a/lib/pages/add_wallet_views/restore_wallet_view/sub_widgets/restoring_dialog.dart +++ b/lib/pages/add_wallet_views/restore_wallet_view/sub_widgets/restoring_dialog.dart @@ -71,7 +71,7 @@ class _RestoringDialogState extends State ), RotationTransition( turns: _spinAnimation, - child: SvgPicture.asset(Assets.svg.arrowRotate3, + child: SvgPicture.asset(Assets.svg.arrowRotate, width: 40, height: 40, color: Theme.of(context) @@ -129,7 +129,7 @@ class _RestoringDialogState extends State message: "This may take a while. Please do not exit this screen.", icon: RotationTransition( turns: _spinAnimation, - child: SvgPicture.asset(Assets.svg.arrowRotate3, + child: SvgPicture.asset(Assets.svg.arrowRotate, width: 24, height: 24, color: Theme.of(context) diff --git a/lib/pages/settings_views/global_settings_view/global_settings_view.dart b/lib/pages/settings_views/global_settings_view/global_settings_view.dart index 627961bed..ded2dd325 100644 --- a/lib/pages/settings_views/global_settings_view/global_settings_view.dart +++ b/lib/pages/settings_views/global_settings_view/global_settings_view.dart @@ -162,7 +162,7 @@ class GlobalSettingsView extends StatelessWidget { height: 8, ), SettingsListButton( - iconAssetName: Assets.svg.arrowRotate3, + iconAssetName: Assets.svg.arrowRotate, iconSize: 18, title: "Syncing preferences", onPressed: () { diff --git a/lib/pages/settings_views/global_settings_view/stack_backup_views/sub_views/stack_restore_progress_view.dart b/lib/pages/settings_views/global_settings_view/stack_backup_views/sub_views/stack_restore_progress_view.dart index 5172144be..9e39443a3 100644 --- a/lib/pages/settings_views/global_settings_view/stack_backup_views/sub_views/stack_restore_progress_view.dart +++ b/lib/pages/settings_views/global_settings_view/stack_backup_views/sub_views/stack_restore_progress_view.dart @@ -560,7 +560,7 @@ class _StackRestoreProgressViewState .buttonBackSecondary, child: Center( child: SvgPicture.asset( - Assets.svg.arrowRotate2, + Assets.svg.arrowsTwoWay, width: 16, height: 16, color: Theme.of(context) @@ -603,7 +603,7 @@ class _StackRestoreProgressViewState .buttonBackSecondary, child: Center( child: SvgPicture.asset( - Assets.svg.arrowRotate2, + Assets.svg.arrowsTwoWay, width: 16, height: 16, color: Theme.of(context) diff --git a/lib/pages/settings_views/wallet_settings_view/wallet_network_settings_view/sub_widgets/rescanning_dialog.dart b/lib/pages/settings_views/wallet_settings_view/wallet_network_settings_view/sub_widgets/rescanning_dialog.dart index 0435d023b..c498cbf9a 100644 --- a/lib/pages/settings_views/wallet_settings_view/wallet_network_settings_view/sub_widgets/rescanning_dialog.dart +++ b/lib/pages/settings_views/wallet_settings_view/wallet_network_settings_view/sub_widgets/rescanning_dialog.dart @@ -72,7 +72,7 @@ class _RescanningDialogState extends State icon: RotationTransition( turns: _spinAnimation, child: SvgPicture.asset( - Assets.svg.arrowRotate3, + Assets.svg.arrowRotate, width: 24, height: 24, color: diff --git a/lib/pages/settings_views/wallet_settings_view/wallet_settings_view.dart b/lib/pages/settings_views/wallet_settings_view/wallet_settings_view.dart index 592630b12..9df35cb7c 100644 --- a/lib/pages/settings_views/wallet_settings_view/wallet_settings_view.dart +++ b/lib/pages/settings_views/wallet_settings_view/wallet_settings_view.dart @@ -269,7 +269,7 @@ class _WalletSettingsViewState extends State { height: 8, ), SettingsListButton( - iconAssetName: Assets.svg.arrowRotate3, + iconAssetName: Assets.svg.arrowRotate, title: "Syncing preferences", onPressed: () { Navigator.of(context).pushNamed( diff --git a/lib/pages/wallet_view/transaction_views/dialogs/cancelling_transaction_progress_dialog.dart b/lib/pages/wallet_view/transaction_views/dialogs/cancelling_transaction_progress_dialog.dart index 7d737ab41..ca1e6e7f4 100644 --- a/lib/pages/wallet_view/transaction_views/dialogs/cancelling_transaction_progress_dialog.dart +++ b/lib/pages/wallet_view/transaction_views/dialogs/cancelling_transaction_progress_dialog.dart @@ -53,7 +53,7 @@ class _CancellingTransactionProgressDialogState icon: RotationTransition( turns: _spinAnimation, child: SvgPicture.asset( - Assets.svg.arrowRotate3, + Assets.svg.arrowRotate, width: 24, height: 24, color: Theme.of(context).extension()!.accentColorDark, diff --git a/lib/utilities/assets.dart b/lib/utilities/assets.dart index 8890da070..b6e77f878 100644 --- a/lib/utilities/assets.dart +++ b/lib/utilities/assets.dart @@ -206,7 +206,7 @@ class _SVG { String get pending => "assets/svg/pending.svg"; String get radio => "assets/svg/signal-stream.svg"; String get arrowRotate => "assets/svg/arrow-rotate.svg"; - String get arrowRotate2 => "assets/svg/arrow-rotate2.svg"; + String get arrowsTwoWay => "assets/svg/arrow-rotate2.svg"; String get alertCircle => "assets/svg/alert-circle.svg"; String get checkCircle => "assets/svg/circle-check.svg"; String get clipboard => "assets/svg/clipboard.svg"; @@ -222,7 +222,6 @@ class _SVG { String get networkWired => "assets/svg/network-wired-2.svg"; String get addressBook => "assets/svg/address-book.svg"; String get addressBook2 => "assets/svg/address-book2.svg"; - String get arrowRotate3 => "assets/svg/rotate-exclamation.svg"; String get delete => "assets/svg/delete.svg"; String get arrowRight => "assets/svg/arrow-right.svg"; String get dollarSign => "assets/svg/dollar-sign.svg";