mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-01-03 01:09:22 +00:00
churn gif
This commit is contained in:
parent
9a2589b4c3
commit
2431d5f300
5 changed files with 29 additions and 0 deletions
BIN
assets/gif/monero-chan-dance.gif
Normal file
BIN
assets/gif/monero-chan-dance.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.2 MiB |
|
@ -13,6 +13,7 @@ import '../../widgets/churning/churn_progress_item.dart';
|
|||
import '../../widgets/custom_buttons/app_bar_icon_button.dart';
|
||||
import '../../widgets/desktop/primary_button.dart';
|
||||
import '../../widgets/desktop/secondary_button.dart';
|
||||
import '../../widgets/monero_chan_dance.dart';
|
||||
import '../../widgets/rounded_container.dart';
|
||||
import '../../widgets/stack_dialog.dart';
|
||||
import 'churn_error_dialog.dart';
|
||||
|
@ -185,6 +186,10 @@ class _ChurningProgressViewState extends ConsumerState<ChurningProgressView> {
|
|||
const SizedBox(
|
||||
height: 20,
|
||||
),
|
||||
const MoneroChanDance(),
|
||||
const SizedBox(
|
||||
height: 20,
|
||||
),
|
||||
ProgressItem(
|
||||
iconAsset: Assets.svg.alertCircle,
|
||||
label: "Waiting for balance to unlock ${ref.watch(
|
||||
|
|
|
@ -15,6 +15,7 @@ import '../../../widgets/desktop/desktop_dialog.dart';
|
|||
import '../../../widgets/desktop/desktop_dialog_close_button.dart';
|
||||
import '../../../widgets/desktop/primary_button.dart';
|
||||
import '../../../widgets/desktop/secondary_button.dart';
|
||||
import '../../../widgets/monero_chan_dance.dart';
|
||||
import '../../../widgets/rounded_container.dart';
|
||||
import '../../../widgets/rounded_white_container.dart';
|
||||
|
||||
|
@ -235,6 +236,10 @@ class _ChurnDialogViewState extends ConsumerState<ChurnDialogView> {
|
|||
const SizedBox(
|
||||
height: 20,
|
||||
),
|
||||
const MoneroChanDance(),
|
||||
const SizedBox(
|
||||
height: 20,
|
||||
),
|
||||
ProgressItem(
|
||||
iconAsset: Assets.svg.alertCircle,
|
||||
label: "Waiting for balance to unlock ${ref.watch(
|
||||
|
|
|
@ -279,4 +279,5 @@ class _GIF {
|
|||
const _GIF();
|
||||
|
||||
String get stacyOnion => "assets/gif/stacy_onion.gif";
|
||||
String get moneroChanDance => "assets/gif/monero-chan-dance.gif";
|
||||
}
|
||||
|
|
18
lib/widgets/monero_chan_dance.dart
Normal file
18
lib/widgets/monero_chan_dance.dart
Normal file
|
@ -0,0 +1,18 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../utilities/assets.dart';
|
||||
|
||||
class MoneroChanDance extends StatelessWidget {
|
||||
const MoneroChanDance({super.key, this.height = 200});
|
||||
|
||||
final double height;
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Image(
|
||||
height: height,
|
||||
image: AssetImage(
|
||||
Assets.gif.moneroChanDance,
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue