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;
|
||||
}
|
||||
|
||||
bool isMobile(BuildContext context) =>
|
||||
responsiveUtils.isPortraitMobile(context) ||
|
||||
responsiveUtils.isLandscapeMobile(context);
|
||||
bool isMobile(BuildContext context) {
|
||||
if (PlatformInfo.isMobile) {
|
||||
return responsiveUtils.isPortraitMobile(context) ||
|
||||
responsiveUtils.isLandscapeMobile(context);
|
||||
} else {
|
||||
return responsiveUtils.isMobile(context);
|
||||
}
|
||||
}
|
||||
|
||||
double _getMaxWidthInlineImage(BuildContext context) {
|
||||
if (isMobile(context)) {
|
||||
|
||||
Reference in New Issue
Block a user