fix:修复部分国际化bug

This commit is contained in:
liyi 2024-11-26 11:14:48 +08:00
parent 4730b0ebc9
commit 860016cbf8
4 changed files with 96 additions and 97 deletions

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<string name="app_name">Star Lock</string> <string name="app_name">TTLock Pro</string>
</resources> </resources>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<string name="app_name"></string> <string name="app_name">通通</string>
</resources> </resources>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<string name="app_name">星锁</string> <string name="app_name"></string>
</resources> </resources>

View File

@ -748,8 +748,9 @@ class _LockDetailPageState extends State<LockDetailPage>
Widget adminInfoView( Widget adminInfoView(
{bool center = true, bool max = true, bool add = false}) { {bool center = true, bool max = true, bool add = false}) {
return Expanded( return Row(
child: Wrap( mainAxisAlignment:
center ? MainAxisAlignment.center : MainAxisAlignment.start,
children: <Widget>[ children: <Widget>[
Row( Row(
mainAxisSize: max ? MainAxisSize.max : MainAxisSize.min, mainAxisSize: max ? MainAxisSize.max : MainAxisSize.min,
@ -801,8 +802,7 @@ class _LockDetailPageState extends State<LockDetailPage>
mainAxisSize: max ? MainAxisSize.max : MainAxisSize.min, mainAxisSize: max ? MainAxisSize.max : MainAxisSize.min,
children: [ children: [
FlavorsImg( FlavorsImg(
child: Image.asset( child: Image.asset('images/main/icon_lockDetail_needNetwork.png',
'images/main/icon_lockDetail_needNetwork.png',
width: 24.w, width: 24.w,
height: 20.w, height: 20.w,
color: state.isOpenLockNeedOnline.value == 1 color: state.isOpenLockNeedOnline.value == 1
@ -850,7 +850,6 @@ class _LockDetailPageState extends State<LockDetailPage>
], ],
) )
], ],
),
); );
} }