Skip to content

Commit

Permalink
fix dcm
Browse files Browse the repository at this point in the history
  • Loading branch information
ulusoyca committed Nov 12, 2024
1 parent 60b42d6 commit f21b5e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/src/modal_type/wolt_alert_dialog_type.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class WoltAlertDialogType extends WoltDialogType {

@override
BoxConstraints layoutModal(Size availableSize) {
late double width;
double width;
final availableWidth = availableSize.width;
final screenType = WoltBreakpoints.getScreenTypeForWidth(availableWidth);

Expand Down
2 changes: 1 addition & 1 deletion lib/src/modal_type/wolt_dialog_type.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class WoltDialogType extends WoltModalType {
final double availableWidth = availableSize.width;
final double availableHeight = availableSize.height;

late double width;
double width;

if (availableWidth > horizontalBreakpoint) {
width = minModalWidth;
Expand Down

0 comments on commit f21b5e5

Please sign in to comment.