TF-2644 Display warning dialog when pick file exceeded maximum size in composer
This commit is contained in:
@@ -3916,4 +3916,18 @@ class AppLocalizations {
|
||||
name: 'zoomOut',
|
||||
);
|
||||
}
|
||||
|
||||
String get messageWarningDialogWhenExceedMaximumFileSizeComposer {
|
||||
return Intl.message(
|
||||
'Your message is larger than the size generally accepted by third party email systems. If you confirm sending this mail, there is a risk that it gets rejected by your recipient system.',
|
||||
name: 'messageWarningDialogWhenExceedMaximumFileSizeComposer',
|
||||
);
|
||||
}
|
||||
|
||||
String get continueAction {
|
||||
return Intl.message(
|
||||
'Continue',
|
||||
name: 'continueAction',
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -8,6 +8,7 @@ import 'package:tmail_ui_user/main/localizations/app_localizations.dart';
|
||||
|
||||
class AppConfig {
|
||||
static const int limitCharToStartSearch = 3;
|
||||
static const int maximumMegabytesSizeFileAttachedInComposer = 10;
|
||||
|
||||
static const String appDashboardConfigurationPath = "configurations/app_dashboard.json";
|
||||
static const String appFCMConfigurationPath = "configurations/env.fcm";
|
||||
|
||||
Reference in New Issue
Block a user