TF-682 Update padding advanced search form on landscape tablet

This commit is contained in:
dab246
2022-07-04 11:50:48 +07:00
committed by Dat H. Pham
parent 93177d042d
commit be625472c6
10 changed files with 124 additions and 68 deletions
@@ -124,4 +124,12 @@ class ResponsiveUtils {
return isLandscapeTablet(context) || isDesktop(context);
}
}
bool landscapeTabletSupported(BuildContext context) {
if (BuildUtils.isWeb) {
return isTabletLarge(context);
} else {
return isLandscapeTablet(context);
}
}
}