From 589bd51e70fd1e93c208fc1fa89448749850bf2d Mon Sep 17 00:00:00 2001 From: julian Date: Mon, 16 Oct 2023 16:45:36 -0600 Subject: [PATCH] clean up unused function --- .../cashfusion/fusion_progress_view.dart | 29 ------------------- 1 file changed, 29 deletions(-) diff --git a/lib/pages/cashfusion/fusion_progress_view.dart b/lib/pages/cashfusion/fusion_progress_view.dart index 93bb88c6e..544088b11 100644 --- a/lib/pages/cashfusion/fusion_progress_view.dart +++ b/lib/pages/cashfusion/fusion_progress_view.dart @@ -9,11 +9,8 @@ */ import 'package:flutter/material.dart'; -import 'package:flutter_svg/flutter_svg.dart'; -import 'package:stackwallet/pages_desktop_specific/cashfusion/sub_widgets/fusion_dialog.dart'; import 'package:stackwallet/pages_desktop_specific/cashfusion/sub_widgets/fusion_progress.dart'; import 'package:stackwallet/themes/stack_colors.dart'; -import 'package:stackwallet/utilities/assets.dart'; import 'package:stackwallet/utilities/text_styles.dart'; import 'package:stackwallet/widgets/background.dart'; import 'package:stackwallet/widgets/custom_buttons/app_bar_icon_button.dart'; @@ -34,32 +31,6 @@ class FusionProgressView extends StatefulWidget { } class _FusionProgressViewState extends State { - Widget _getIconForState(CashFusionStatus state) { - switch (state) { - case CashFusionStatus.waiting: - return SvgPicture.asset( - Assets.svg.loader, - color: - Theme.of(context).extension()!.buttonBackSecondary, - ); - case CashFusionStatus.running: - return SvgPicture.asset( - Assets.svg.loader, - color: Theme.of(context).extension()!.accentColorGreen, - ); - case CashFusionStatus.success: - return SvgPicture.asset( - Assets.svg.checkCircle, - color: Theme.of(context).extension()!.accentColorGreen, - ); - case CashFusionStatus.failed: - return SvgPicture.asset( - Assets.svg.circleAlert, - color: Theme.of(context).extension()!.textError, - ); - } - } - /// return true on will cancel, false if cancel cancelled Future _requestCancel() async { //