Commit 4d79a0af52c2483df60133fd84fc4946b9d172ac

Authored by wdn127929
1 parent adcff6f2

自动更新bug

@@ -11,14 +11,14 @@ if (flutterRoot == null) { @@ -11,14 +11,14 @@ if (flutterRoot == null) {
11 throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") 11 throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 } 12 }
13 13
14 -def flutterVersionCode = "211" 14 +def flutterVersionCode = "111"
15 if (flutterVersionCode == null) { 15 if (flutterVersionCode == null) {
16 - flutterVersionCode = '211' 16 + flutterVersionCode = '111'
17 } 17 }
18 18
19 -def flutterVersionName = "2.1.1" 19 +def flutterVersionName = "1.1.1"
20 if (flutterVersionName == null) { 20 if (flutterVersionName == null) {
21 - flutterVersionName = '2.1.1' 21 + flutterVersionName = '1.1.1'
22 } 22 }
23 23
24 apply plugin: 'com.android.application' 24 apply plugin: 'com.android.application'
@@ -88,7 +88,7 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver { @@ -88,7 +88,7 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver {
88 _getIntent(); 88 _getIntent();
89 Future.delayed(Duration(milliseconds: 30000), () { 89 Future.delayed(Duration(milliseconds: 30000), () {
90 ContactModel.getInstance().uploadLocalContact(context); 90 ContactModel.getInstance().uploadLocalContact(context);
91 - UpdateModel updateModel = Provider.of<UpdateModel>(context); 91 + UpdateModel updateModel = new UpdateModel();
92 updateModel.checkUpdate(context, showToast: false); 92 updateModel.checkUpdate(context, showToast: false);
93 }); 93 });
94 timer = Timer.periodic(Duration(minutes: 3), (_) { 94 timer = Timer.periodic(Duration(minutes: 3), (_) {
@@ -599,6 +599,11 @@ class InvicationPageState extends State<InvicationPage> { @@ -599,6 +599,11 @@ class InvicationPageState extends State<InvicationPage> {
599 Overflow.visible, 599 Overflow.visible,
600 children: [ 600 children: [
601 Container( 601 Container(
  602 + margin: EdgeInsets.only(
  603 + bottom:
  604 + ScreenUtil()
  605 + .setWidth(
  606 + 24)),
602 constraints: BoxConstraints( 607 constraints: BoxConstraints(
603 maxWidth: 608 maxWidth:
604 ScreenUtil() 609 ScreenUtil()
@@ -654,8 +659,7 @@ class InvicationPageState extends State<InvicationPage> { @@ -654,8 +659,7 @@ class InvicationPageState extends State<InvicationPage> {
654 ), 659 ),
655 Positioned( 660 Positioned(
656 key: key, 661 key: key,
657 - bottom: ScreenUtil()  
658 - .setWidth(-24), 662 + bottom: 0,
659 child: _baseIndoProvider 663 child: _baseIndoProvider
660 .photoList 664 .photoList
661 .length > 665 .length >