Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: dialog size #6

Merged
merged 1 commit into from
Feb 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ SPEC CHECKSUMS:

PODFILE CHECKSUM: 2626946c0f4c5a786ca56bc00721109d51be6950

COCOAPODS: 1.15.2
COCOAPODS: 1.16.2
9 changes: 0 additions & 9 deletions lib/src/ui/sec_modal.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -109,7 +105,6 @@ class SecModalBuilder extends StatelessWidget {
useSafeArea: useSafeArea,
strategy: strategy,
payload: payload,
fixedDialogSize: fixedDialogSize,
tokenAmount: tokenAmount,
),
);
Expand Down Expand Up @@ -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,
}) {
Expand All @@ -170,7 +162,6 @@ LdModal secModal({
showDismissButton: canDismiss,
userCanDismiss: canDismiss,
topRadius: topRadius,
fixedDialogSize: fixedDialogSize,
bottomRadius: bottomRadius,
useSafeArea: useSafeArea,
insets: insets,
Expand Down