TF-3623 Fix Cancel, Create, Save as default are displayed 2 times in the dialog Create new identity
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -833,9 +833,14 @@ class IdentityCreatorController extends BaseController with DragDropFileMixin im
|
|||||||
return compressedFilePath;
|
return compressedFilePath;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isMobile(BuildContext context) =>
|
bool isMobile(BuildContext context) {
|
||||||
responsiveUtils.isPortraitMobile(context) ||
|
if (PlatformInfo.isMobile) {
|
||||||
responsiveUtils.isLandscapeMobile(context);
|
return responsiveUtils.isPortraitMobile(context) ||
|
||||||
|
responsiveUtils.isLandscapeMobile(context);
|
||||||
|
} else {
|
||||||
|
return responsiveUtils.isMobile(context);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
double _getMaxWidthInlineImage(BuildContext context) {
|
double _getMaxWidthInlineImage(BuildContext context) {
|
||||||
if (isMobile(context)) {
|
if (isMobile(context)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user