合并代码

This commit is contained in:
魏少阳 2023-10-17 16:01:06 +08:00
parent 4312ebc509
commit 7778ed8123
2 changed files with 7 additions and 3 deletions

View File

@ -448,8 +448,8 @@ class _LockSetPageState extends State<LockSetPage> with RouteAware {
onClick: () {
// logic.deletUserAction();
// logic.deletLockInfoData();
showDeletPasswordAlertDialog(context);
logic.deletLockInfoData();
// showDeletPasswordAlertDialog(context);
}),
),
],

View File

@ -80,12 +80,14 @@ class _StarLockMainPageState extends State<StarLockMainPage> with BaseWidget {
returnWidget = unHaveData();
break;
case 1:
Storage.setBool(ifIsDemoModeOrNot, false);
returnWidget = LockDetailPage(
lockMainEntity: logic.state.lockMainEntity.value,
isFrist: true,
keyInfo: logic.state.lockMainEntity.value.data!.keyInfos![0]);
break;
case 2:
Storage.setBool(ifIsDemoModeOrNot, false);
returnWidget =
LockListPage(lockMainEntity: logic.state.lockMainEntity.value);
break;
@ -146,7 +148,9 @@ class _StarLockMainPageState extends State<StarLockMainPage> with BaseWidget {
SizedBox(
height: 200.h,
),
SubmitBtn(btnName: '演示模式')
SubmitBtn(btnName: '演示模式', onClick: (){
Get.toNamed(Routers.demoModeLockDetailPage);
},)
],
);
}