From 52d6f8e7c3df4aed2798da2f74c5f2921fdc66ef Mon Sep 17 00:00:00 2001 From: Joshua Wellbrock Date: Mon, 24 Feb 2025 11:18:15 +0100 Subject: [PATCH] fix: remove fixed size for modal --- example/ios/Podfile.lock | 2 +- lib/src/ui/sec_modal.dart | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/example/ios/Podfile.lock b/example/ios/Podfile.lock index 807cdc4..bfeba90 100644 --- a/example/ios/Podfile.lock +++ b/example/ios/Podfile.lock @@ -44,4 +44,4 @@ SPEC CHECKSUMS: PODFILE CHECKSUM: 2626946c0f4c5a786ca56bc00721109d51be6950 -COCOAPODS: 1.15.2 +COCOAPODS: 1.16.2 diff --git a/lib/src/ui/sec_modal.dart b/lib/src/ui/sec_modal.dart index 50717f0..f284142 100644 --- a/lib/src/ui/sec_modal.dart +++ b/lib/src/ui/sec_modal.dart @@ -23,7 +23,6 @@ class SecModalBuilder extends StatelessWidget { this.disconnectOnClose = true, this.turnOffOnClose = true, this.canDismiss = true, - this.fixedDialogSize = const Size(400, 400), this.tokenAmount, super.key, }); @@ -55,9 +54,6 @@ class SecModalBuilder extends StatelessWidget { /// Whether the modal can be dissmissed by the user. final bool canDismiss; - /// Size of the modal. - final Size fixedDialogSize; - /// Amount of tokens to be requested on token refresh. final int? tokenAmount; @@ -109,7 +105,6 @@ class SecModalBuilder extends StatelessWidget { useSafeArea: useSafeArea, strategy: strategy, payload: payload, - fixedDialogSize: fixedDialogSize, tokenAmount: tokenAmount, ), ); @@ -157,9 +152,6 @@ LdModal secModal({ /// Whether to use safe area inside the modal required bool useSafeArea, - /// Size of the modal - Size fixedDialogSize = const Size(400, 400), - /// Amount of token to be requested on token refresh int? tokenAmount, }) { @@ -170,7 +162,6 @@ LdModal secModal({ showDismissButton: canDismiss, userCanDismiss: canDismiss, topRadius: topRadius, - fixedDialogSize: fixedDialogSize, bottomRadius: bottomRadius, useSafeArea: useSafeArea, insets: insets,