更新新版控制
This commit is contained in:
@@ -5,8 +5,10 @@ import 'package:connectivity_plus/connectivity_plus.dart';
|
||||
import 'package:ef/ef.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter/widgets.dart';
|
||||
import 'package:vbvs_app/common/color/appConstants.dart';
|
||||
import 'package:vbvs_app/common/util/CommonVariables.dart';
|
||||
import 'package:vbvs_app/common/util/MyUtils.dart';
|
||||
import 'package:vbvs_app/enum/APPPackageType.dart';
|
||||
import 'package:vbvs_app/pages/device_bind/componnet/bind_dialog.dart';
|
||||
|
||||
class Checknetwork {
|
||||
@@ -87,10 +89,33 @@ class Checknetwork {
|
||||
// isShowDialog = true;
|
||||
// showCustomConfirmDialog(context!, name).then((d) {
|
||||
// isShowDialog = false;
|
||||
// });
|
||||
showTipDialog(context!,Text(name,style: TextStyle(
|
||||
color: themeController.currentColor.sc3,
|
||||
),));
|
||||
// });
|
||||
if (AppConstants().ent_type == APPPackageType.MHT.code) {
|
||||
showTipDialog(
|
||||
context!,
|
||||
Text(
|
||||
name,
|
||||
style: TextStyle(
|
||||
color: stringToColor("333333"),
|
||||
),
|
||||
),
|
||||
backgroundColor: stringToColor("#FFFFFF"),
|
||||
colors: [
|
||||
stringToColor("1592AA"),
|
||||
stringToColor("0C83A7"),
|
||||
stringToColor("006FA3"),
|
||||
]);
|
||||
} else if (AppConstants().ent_type == APPPackageType.TH.code) {
|
||||
showTipDialog(
|
||||
context!,
|
||||
Text(
|
||||
name,
|
||||
style: TextStyle(
|
||||
color: themeController.currentColor.sc3,
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user