TF-1915 Sync set padding for multiple platform
(cherry picked from commit 2dca49df4242119b7debbaf4d6fd12697d6955c9)
This commit is contained in:
@@ -774,9 +774,9 @@ class ComposerView extends GetWidget<ComposerController>
|
||||
}
|
||||
|
||||
int _getMaxItemRowListAttachment(BuildContext context, BoxConstraints constraints) {
|
||||
if (constraints.maxWidth < responsiveUtils.minTabletWidth) {
|
||||
if (constraints.maxWidth < ResponsiveUtils.minTabletWidth) {
|
||||
return 2;
|
||||
} else if (constraints.maxWidth < responsiveUtils.minTabletLargeWidth) {
|
||||
} else if (constraints.maxWidth < ResponsiveUtils.minTabletLargeWidth) {
|
||||
return 3;
|
||||
} else {
|
||||
return 4;
|
||||
|
||||
@@ -929,9 +929,9 @@ class ComposerView extends GetWidget<ComposerController>
|
||||
}
|
||||
|
||||
int _getMaxItemRowListAttachment(BuildContext context, BoxConstraints constraints) {
|
||||
if (constraints.maxWidth < responsiveUtils.minTabletWidth) {
|
||||
if (constraints.maxWidth < ResponsiveUtils.minTabletWidth) {
|
||||
return 2;
|
||||
} else if (constraints.maxWidth < responsiveUtils.minTabletLargeWidth) {
|
||||
} else if (constraints.maxWidth < ResponsiveUtils.minTabletLargeWidth) {
|
||||
return 3;
|
||||
} else {
|
||||
return 4;
|
||||
|
||||
Reference in New Issue
Block a user