Fix wrong screen response on mobile
This commit is contained in:
@@ -27,9 +27,8 @@ class ResponsiveWidget extends StatelessWidget {
|
||||
log('ResponsiveWidget::build(): WIDTH_SIZE: ${responsiveUtils.getDeviceWidth(context)}');
|
||||
|
||||
if (BuildUtils.isWeb) {
|
||||
|
||||
if (responsiveUtils.isMobile(context)) {
|
||||
return tablet ?? mobile;
|
||||
return mobile;
|
||||
}
|
||||
|
||||
if (responsiveUtils.isTablet(context)) {
|
||||
@@ -55,7 +54,7 @@ class ResponsiveWidget extends StatelessWidget {
|
||||
}
|
||||
|
||||
if (responsiveUtils.isMobile(context)) {
|
||||
return tablet ?? mobile;
|
||||
return mobile;
|
||||
}
|
||||
|
||||
if (responsiveUtils.isTablet(context)) {
|
||||
|
||||
Reference in New Issue
Block a user