Merge branch 'release' of gitee.com:starlock-cn/app-starlock into release
This commit is contained in:
commit
aee06bd71e
@ -35,9 +35,9 @@ class _StarLockForgetPasswordPageState
|
|||||||
appBar: TitleAppBar(
|
appBar: TitleAppBar(
|
||||||
barTitle: '忘记密码'.tr,
|
barTitle: '忘记密码'.tr,
|
||||||
haveBack: true,
|
haveBack: true,
|
||||||
iconColor: AppColors.blackColor,
|
iconColor: Colors.white,
|
||||||
titleColor: AppColors.blackColor,
|
titleColor: Colors.white,
|
||||||
backgroundColor: Colors.white),
|
backgroundColor: AppColors.mainColor),
|
||||||
body: ListView(
|
body: ListView(
|
||||||
padding: EdgeInsets.only(left: 40.w, right: 40.w),
|
padding: EdgeInsets.only(left: 40.w, right: 40.w),
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
@ -189,12 +189,12 @@ class _StarLockForgetPasswordPageState
|
|||||||
isDisabled: state.canSub.value,
|
isDisabled: state.canSub.value,
|
||||||
onClick: state.canSub.value
|
onClick: state.canSub.value
|
||||||
? () async {
|
? () async {
|
||||||
final bool isNetWork =
|
// final bool isNetWork =
|
||||||
await LockMainLogic.to()?.judgeTheNetwork() ??
|
// await LockMainLogic.to()?.judgeTheNetwork() ??
|
||||||
false;
|
// false;
|
||||||
if (!isNetWork) {
|
// if (!isNetWork) {
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
logic.resetPassword();
|
logic.resetPassword();
|
||||||
}
|
}
|
||||||
: null);
|
: null);
|
||||||
|
|||||||
@ -1422,12 +1422,12 @@ class _LockDetailPageState extends State<LockDetailPage>
|
|||||||
state.nextAuthTime.value = getNextAuthTime;
|
state.nextAuthTime.value = getNextAuthTime;
|
||||||
if (isSuccess) {
|
if (isSuccess) {
|
||||||
// 认证成功,去开锁
|
// 认证成功,去开锁
|
||||||
setState(startOpenLock);
|
startOpenLock();
|
||||||
}
|
}
|
||||||
}).initAliyunRealNameAuth();
|
}).initAliyunRealNameAuth();
|
||||||
} else {
|
} else {
|
||||||
//无需认证,直接开锁
|
//无需认证,直接开锁
|
||||||
setState(startOpenLock);
|
startOpenLock();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user