Merge branch 'develop_sky_liyi' into 'develop_sky'
Develop sky liyi See merge request StarlockTeam/app-starlock!142
This commit is contained in:
commit
7d4e18f7b1
@ -180,8 +180,7 @@ class _PasswordKeyDetailPageState extends State<PasswordKeyDetailPage>
|
|||||||
left: 30.w, right: 30.w, top: 30.w, bottom: 30.w),
|
left: 30.w, right: 30.w, top: 30.w, bottom: 30.w),
|
||||||
padding: EdgeInsets.only(top: 25.w, bottom: 25.w),
|
padding: EdgeInsets.only(top: 25.w, bottom: 25.w),
|
||||||
onClick: () async {
|
onClick: () async {
|
||||||
final bool isNetWork =
|
final bool isNetWork = await logic.isConnected();
|
||||||
await LockMainLogic.to()?.judgeTheNetwork() ?? false;
|
|
||||||
if (!isNetWork) {
|
if (!isNetWork) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -53,6 +53,7 @@ class KeySearchWidget extends StatelessWidget {
|
|||||||
controller: editingController,
|
controller: editingController,
|
||||||
autofocus: false,
|
autofocus: false,
|
||||||
textAlign: TextAlign.start,
|
textAlign: TextAlign.start,
|
||||||
|
textInputAction: TextInputAction.search,
|
||||||
onChanged: (String value) {
|
onChanged: (String value) {
|
||||||
AppLog.log('onChanged:$value');
|
AppLog.log('onChanged:$value');
|
||||||
},
|
},
|
||||||
@ -60,6 +61,7 @@ class KeySearchWidget extends StatelessWidget {
|
|||||||
AppLog.log('onEditingComplete:');
|
AppLog.log('onEditingComplete:');
|
||||||
},
|
},
|
||||||
onSubmitted: (String value) {
|
onSubmitted: (String value) {
|
||||||
|
FocusScope.of(context).unfocus(); // 收起键盘
|
||||||
onSubmittedAction!();
|
onSubmittedAction!();
|
||||||
},
|
},
|
||||||
decoration: InputDecoration(
|
decoration: InputDecoration(
|
||||||
|
|||||||
@ -64,6 +64,7 @@ class _TitleAppBarState extends State<TitleAppBar> {
|
|||||||
EasyLoading.dismiss();
|
EasyLoading.dismiss();
|
||||||
}
|
}
|
||||||
Navigator.pop(context);
|
Navigator.pop(context);
|
||||||
|
FocusScope.of(context).unfocus(); // 收起键盘
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
: Container()),
|
: Container()),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user