TF-913 Remove functions not used
This commit is contained in:
@@ -98,18 +98,6 @@ class ResponsiveUtils {
|
|||||||
bool isWebNotDesktop(BuildContext context) =>
|
bool isWebNotDesktop(BuildContext context) =>
|
||||||
BuildUtils.isWeb && !isDesktop(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) {
|
bool mailboxDashboardOnlyHasEmailView(BuildContext context) {
|
||||||
if (BuildUtils.isWeb) {
|
if (BuildUtils.isWeb) {
|
||||||
return isMobile(context) || isTablet(context);
|
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) {
|
bool landscapeTabletSupported(BuildContext context) {
|
||||||
if (BuildUtils.isWeb) {
|
if (BuildUtils.isWeb) {
|
||||||
return isTabletLarge(context);
|
return isTabletLarge(context);
|
||||||
|
|||||||
Reference in New Issue
Block a user