Skip to content

Commit

Permalink
Merge pull request #1879 from ardriveapp/PE-6783-upload-modal-enhance…
Browse files Browse the repository at this point in the history
…ments-dev

PE-6783: upload modal enhancements
  • Loading branch information
thiagocarvalhodev authored Oct 15, 2024
2 parents 1c7037b + c23f5c9 commit 4612091
Show file tree
Hide file tree
Showing 24 changed files with 3,758 additions and 2,361 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class UploadPaymentMethodView extends StatelessWidget {
this.onTurboTopupSucess,
this.loadingIndicator,
this.useNewArDriveUI = false,
this.useDropdown = false,
});

final Function(UploadMethod, UploadPaymentMethodInfo, bool)
Expand All @@ -22,6 +23,7 @@ class UploadPaymentMethodView extends StatelessWidget {
final Function()? onTurboTopupSucess;
final Widget? loadingIndicator;
final bool useNewArDriveUI;
final bool useDropdown;

@override
Widget build(BuildContext context) {
Expand All @@ -44,6 +46,7 @@ class UploadPaymentMethodView extends StatelessWidget {
return PaymentMethodSelector(
useNewArDriveUI: useNewArDriveUI,
uploadMethodInfo: state.paymentMethodInfo,
useDropdown: useDropdown,
onArSelect: () {
context.read<UploadPaymentMethodBloc>().add(
const ChangeUploadPaymentMethod(
Expand Down
Loading

0 comments on commit 4612091

Please sign in to comment.