Commit 4d79a0af52c2483df60133fd84fc4946b9d172ac

Authored by wdn127929
1 parent adcff6f2

自动更新bug

... ... @@ -11,14 +11,14 @@ if (flutterRoot == null) {
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}
def flutterVersionCode = "211"
def flutterVersionCode = "111"
if (flutterVersionCode == null) {
flutterVersionCode = '211'
flutterVersionCode = '111'
}
def flutterVersionName = "2.1.1"
def flutterVersionName = "1.1.1"
if (flutterVersionName == null) {
flutterVersionName = '2.1.1'
flutterVersionName = '1.1.1'
}
apply plugin: 'com.android.application'
... ...
... ... @@ -88,7 +88,7 @@ class HomePageState extends State<HomePage> with WidgetsBindingObserver {
_getIntent();
Future.delayed(Duration(milliseconds: 30000), () {
ContactModel.getInstance().uploadLocalContact(context);
UpdateModel updateModel = Provider.of<UpdateModel>(context);
UpdateModel updateModel = new UpdateModel();
updateModel.checkUpdate(context, showToast: false);
});
timer = Timer.periodic(Duration(minutes: 3), (_) {
... ...
... ... @@ -599,6 +599,11 @@ class InvicationPageState extends State<InvicationPage> {
Overflow.visible,
children: [
Container(
margin: EdgeInsets.only(
bottom:
ScreenUtil()
.setWidth(
24)),
constraints: BoxConstraints(
maxWidth:
ScreenUtil()
... ... @@ -654,8 +659,7 @@ class InvicationPageState extends State<InvicationPage> {
),
Positioned(
key: key,
bottom: ScreenUtil()
.setWidth(-24),
bottom: 0,
child: _baseIndoProvider
.photoList
.length >
... ...