更新验证码选择区号
This commit is contained in:
@@ -9,6 +9,7 @@ import 'package:vbvs_app/common/util/FitTool.dart';
|
||||
import 'package:vbvs_app/common/util/MyUtils.dart';
|
||||
import 'package:vbvs_app/common/util/requestWithLog.dart';
|
||||
import 'package:vbvs_app/component/base/GradientSwitch.dart';
|
||||
import 'package:vbvs_app/component/tool/NewTopSlideNotification.dart';
|
||||
import 'package:vbvs_app/component/tool/TopSlideNotification.dart';
|
||||
import 'package:vbvs_app/controller/message/common_message_setting_controller.dart';
|
||||
import 'package:vbvs_app/controller/theme_controller/ThemeController.dart';
|
||||
@@ -204,6 +205,14 @@ class _CommonMessageSettingPageState extends State<CommonMessageSettingPage> {
|
||||
? true
|
||||
: false,
|
||||
onChanged: (val) {
|
||||
if (val == false) {
|
||||
NewTopSlideNotification.show(
|
||||
text: "注意!关闭后将无法接受任何消息".tr,
|
||||
textColor: themeController
|
||||
.currentColor.sc9,
|
||||
duration: Duration(seconds: 3),
|
||||
);
|
||||
}
|
||||
String serviceAddress =
|
||||
ServiceConstant.service_address;
|
||||
String serviceName =
|
||||
|
||||
Reference in New Issue
Block a user