提交bug代码
This commit is contained in:
parent
55c65e4590
commit
7d32a40f59
@ -52,6 +52,7 @@
|
|||||||
<activity
|
<activity
|
||||||
android:name=".MainActivity"
|
android:name=".MainActivity"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
|
android:screenOrientation="portrait"
|
||||||
android:launchMode="singleTop"
|
android:launchMode="singleTop"
|
||||||
android:theme="@style/LaunchTheme"
|
android:theme="@style/LaunchTheme"
|
||||||
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
|
||||||
|
|||||||
@ -78,7 +78,7 @@ class LockMainLogic extends BaseGetXController {
|
|||||||
// }
|
// }
|
||||||
// }
|
// }
|
||||||
// page++;
|
// page++;
|
||||||
|
// Future.delayed(const Duration(milliseconds: 200));
|
||||||
if(entity.data!.groupList!.isEmpty){
|
if(entity.data!.groupList!.isEmpty){
|
||||||
state.dataLength.value = 0;
|
state.dataLength.value = 0;
|
||||||
}else if(entity.data!.groupList!.length == 1){
|
}else if(entity.data!.groupList!.length == 1){
|
||||||
|
|||||||
@ -94,6 +94,8 @@ class _StarLockMainPageState extends State<StarLockMainPage> with BaseWidget {
|
|||||||
returnWidget = const NoData();
|
returnWidget = const NoData();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
// Future.delayed(const Duration(seconds: 1));
|
||||||
|
// Future.delayed(const Duration(milliseconds: 200));
|
||||||
return returnWidget;
|
return returnWidget;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -193,7 +193,9 @@ class SaveLockLogic extends BaseGetXController {
|
|||||||
);
|
);
|
||||||
if (entity.errorCode!.codeIsSuccessful) {
|
if (entity.errorCode!.codeIsSuccessful) {
|
||||||
eventBus.fire(RefreshLockListInfoDataEvent());
|
eventBus.fire(RefreshLockListInfoDataEvent());
|
||||||
Get.offAllNamed(Routers.starLockMain);
|
Future.delayed(const Duration(milliseconds: 200), () {
|
||||||
|
Get.offAllNamed(Routers.starLockMain);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user