TF-248 Change ui toast notification
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import 'package:core/core.dart';
|
||||
import 'package:core/presentation/utils/app_toast.dart';
|
||||
import 'package:device_info/device_info.dart';
|
||||
import 'package:fluttertoast/fluttertoast.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
import 'package:tmail_ui_user/features/email/data/local/html_analyzer.dart';
|
||||
@@ -39,6 +39,7 @@ class CoreBindings extends Bindings {
|
||||
}
|
||||
|
||||
void _bindingToast() {
|
||||
Get.put(FToast());
|
||||
Get.put(AppToast());
|
||||
}
|
||||
|
||||
|
||||
@@ -518,4 +518,12 @@ class AppLocalizations {
|
||||
'This feature is under development.',
|
||||
name: 'the_feature_is_under_development');
|
||||
}
|
||||
|
||||
String marked_message_toast(String action) {
|
||||
return Intl.message(
|
||||
'You’ve marked messages as "$action"',
|
||||
name: 'marked_message_toast',
|
||||
args: [action]
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user