mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 03:49:22 +00:00
fix typo
This commit is contained in:
parent
0ef9759434
commit
abd6e6fcca
1 changed files with 6 additions and 6 deletions
|
@ -9,7 +9,7 @@ import 'package:stackwallet/widgets/desktop/desktop_dialog_close_button.dart';
|
|||
import 'package:stackwallet/widgets/desktop/secondary_button.dart';
|
||||
import 'package:stackwallet/widgets/rounded_container.dart';
|
||||
|
||||
enum CashFustionStatus { waiting, restoring, success, failed }
|
||||
enum CashFusionStatus { waiting, restoring, success, failed }
|
||||
|
||||
class FusionDialog extends StatelessWidget {
|
||||
const FusionDialog({
|
||||
|
@ -18,25 +18,25 @@ class FusionDialog extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
Widget _getIconForState(CashFustionStatus state) {
|
||||
Widget _getIconForState(CashFusionStatus state) {
|
||||
switch (state) {
|
||||
case CashFustionStatus.waiting:
|
||||
case CashFusionStatus.waiting:
|
||||
return SvgPicture.asset(
|
||||
Assets.svg.loader,
|
||||
color:
|
||||
Theme.of(context).extension<StackColors>()!.buttonBackSecondary,
|
||||
);
|
||||
case CashFustionStatus.restoring:
|
||||
case CashFusionStatus.restoring:
|
||||
return SvgPicture.asset(
|
||||
Assets.svg.loader,
|
||||
color: Theme.of(context).extension<StackColors>()!.accentColorGreen,
|
||||
);
|
||||
case CashFustionStatus.success:
|
||||
case CashFusionStatus.success:
|
||||
return SvgPicture.asset(
|
||||
Assets.svg.checkCircle,
|
||||
color: Theme.of(context).extension<StackColors>()!.accentColorGreen,
|
||||
);
|
||||
case CashFustionStatus.failed:
|
||||
case CashFusionStatus.failed:
|
||||
return SvgPicture.asset(
|
||||
Assets.svg.circleAlert,
|
||||
color: Theme.of(context).extension<StackColors>()!.textError,
|
||||
|
|
Loading…
Reference in a new issue