Commit edff834da1cec19104e1c79fef48f8763123da85

Authored by wdn127929
1 parent f0738df3

话机

... ... @@ -18,19 +18,19 @@ if (flutterRoot == null) {
def flutterVersionCode = "530"
def flutterVersionCode = "100"
if (flutterVersionCode == null) {
flutterVersionCode = '530'
flutterVersionCode = '100'
}
def flutterVersionName = "5.3.0"
def flutterVersionName = "1.0.0"
if (flutterVersionName == null) {
flutterVersionName = '5.3.0'
flutterVersionName = '1.0.0'
}
... ...
... ... @@ -267,8 +267,8 @@ class MyAppState extends State<MyApp> {
Widget build(BuildContext context) {
// TODO: implement build
return ScreenUtilInit(
designSize: const Size(750, 1334),
// designSize: const Size(900, 1200),//话机尺寸,不能按照屏幕尺寸,大概调整合适
// designSize: const Size(750, 1334),
designSize: const Size(900, 1200),//话机尺寸,不能按照屏幕尺寸,大概调整合适
minTextAdapt: true,
splitScreenMode: true,
... ...
... ... @@ -286,7 +286,7 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver {
}
if (widget.initialIndex == 0 ||
widget.initialIndex == 1 && needRefreshTemp == false) return;
_initNotification();
// _initNotification();
Future.delayed(Duration(minutes: 3), () {
//30000
// ContactModel.getInstance().uploadLocalContact(context);
... ... @@ -316,6 +316,7 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver {
getSellerVersion() async {
await collectStoreProvider.getSellerVersion(context,showLoading: false);
if (Constant.normalApp) {
_version();
} else {
... ... @@ -328,6 +329,9 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver {
_version();
}
}
if (widget.initialIndex == 0 ||
widget.initialIndex == 1 && needRefreshTemp == false) return;
_initNotification();
}
_version() {
... ...