合并代码
This commit is contained in:
parent
4312ebc509
commit
7778ed8123
@ -448,8 +448,8 @@ class _LockSetPageState extends State<LockSetPage> with RouteAware {
|
|||||||
onClick: () {
|
onClick: () {
|
||||||
// logic.deletUserAction();
|
// logic.deletUserAction();
|
||||||
|
|
||||||
// logic.deletLockInfoData();
|
logic.deletLockInfoData();
|
||||||
showDeletPasswordAlertDialog(context);
|
// showDeletPasswordAlertDialog(context);
|
||||||
}),
|
}),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
@ -80,12 +80,14 @@ class _StarLockMainPageState extends State<StarLockMainPage> with BaseWidget {
|
|||||||
returnWidget = unHaveData();
|
returnWidget = unHaveData();
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
|
Storage.setBool(ifIsDemoModeOrNot, false);
|
||||||
returnWidget = LockDetailPage(
|
returnWidget = LockDetailPage(
|
||||||
lockMainEntity: logic.state.lockMainEntity.value,
|
lockMainEntity: logic.state.lockMainEntity.value,
|
||||||
isFrist: true,
|
isFrist: true,
|
||||||
keyInfo: logic.state.lockMainEntity.value.data!.keyInfos![0]);
|
keyInfo: logic.state.lockMainEntity.value.data!.keyInfos![0]);
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 2:
|
||||||
|
Storage.setBool(ifIsDemoModeOrNot, false);
|
||||||
returnWidget =
|
returnWidget =
|
||||||
LockListPage(lockMainEntity: logic.state.lockMainEntity.value);
|
LockListPage(lockMainEntity: logic.state.lockMainEntity.value);
|
||||||
break;
|
break;
|
||||||
@ -146,7 +148,9 @@ class _StarLockMainPageState extends State<StarLockMainPage> with BaseWidget {
|
|||||||
SizedBox(
|
SizedBox(
|
||||||
height: 200.h,
|
height: 200.h,
|
||||||
),
|
),
|
||||||
SubmitBtn(btnName: '演示模式')
|
SubmitBtn(btnName: '演示模式', onClick: (){
|
||||||
|
Get.toNamed(Routers.demoModeLockDetailPage);
|
||||||
|
},)
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user