TF-913 Remove functions not used

This commit is contained in:
dab246
2022-09-21 11:54:00 +07:00
committed by Dat H. Pham
parent cfa69fa08a
commit adffd1368b
@@ -98,18 +98,6 @@ class ResponsiveUtils {
bool isWebNotDesktop(BuildContext context) =>
BuildUtils.isWeb && !isDesktop(context);
bool mailboxDashboardHasMailboxAndEmailView(BuildContext context) {
if (BuildUtils.isWeb) {
return isDesktop(context) ||
isMobile(context) ||
isTablet(context);
} else {
return isPortraitMobile(context) ||
isLandscapeMobile(context) ||
isTablet(context);
}
}
bool mailboxDashboardOnlyHasEmailView(BuildContext context) {
if (BuildUtils.isWeb) {
return isMobile(context) || isTablet(context);
@@ -120,14 +108,6 @@ class ResponsiveUtils {
}
}
bool isMailboxDashboardSplitView(BuildContext context) {
if (BuildUtils.isWeb) {
return isTabletLarge(context);
} else {
return isLandscapeTablet(context) || isDesktop(context);
}
}
bool landscapeTabletSupported(BuildContext context) {
if (BuildUtils.isWeb) {
return isTabletLarge(context);