TF-2189 Only store email to sending queue when offline on iOS
Signed-off-by: dab246 <tdvu@linagora.com> (cherry picked from commit 0dd22e5c3d300573b13d43fbfe50fc1622e2ab13)
This commit is contained in:
@@ -4,13 +4,7 @@ import 'package:flutter/cupertino.dart';
|
||||
|
||||
class SendingQueueUtils {
|
||||
|
||||
static EdgeInsets getPaddingAppBarByResponsiveSize(double width) {
|
||||
if (ResponsiveUtils.isMatchedMobileWidth(width)) {
|
||||
return const EdgeInsets.symmetric(horizontal: 10);
|
||||
} else {
|
||||
return const EdgeInsets.symmetric(horizontal: 24);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static EdgeInsets getMarginBannerMessageByResponsiveSize(double width) {
|
||||
if (ResponsiveUtils.isMatchedMobileWidth(width)) {
|
||||
@@ -19,20 +13,4 @@ class SendingQueueUtils {
|
||||
return const EdgeInsets.symmetric(horizontal: 24, vertical: 16);
|
||||
}
|
||||
}
|
||||
|
||||
static EdgeInsets getPaddingItemListViewByResponsiveSize(double width) {
|
||||
if (ResponsiveUtils.isMatchedMobileWidth(width)) {
|
||||
return const EdgeInsets.symmetric(horizontal: 16, vertical: 8);
|
||||
} else {
|
||||
return const EdgeInsets.symmetric(horizontal: 32, vertical: 8);
|
||||
}
|
||||
}
|
||||
|
||||
static EdgeInsets getPaddingDividerListViewByResponsiveSize(double width) {
|
||||
if (ResponsiveUtils.isMatchedMobileWidth(width)) {
|
||||
return const EdgeInsets.only(left: 84, right: 8, top: 8);
|
||||
} else {
|
||||
return const EdgeInsets.only(left: 100, right: 24, top: 8);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user