feat(ui): adjust lock page and correct localization

-   Adjusted the lock page's `AppBar` to remove the leading widget and prevent auto-implication.
-   Made the lock page's `AppBar` to extend behind the body.
-   Corrected the "weather" localization to "Weather".
This commit is contained in:
ZhuJHua
2025-01-19 21:44:02 +08:00
parent 93d378637e
commit e4c356560d
2 changed files with 6 additions and 1 deletions

View File

@@ -229,7 +229,7 @@
"editPickAudioFromRecord": "Recording",
"editPickAudioFromFile": "File Audio",
"editDateAndTime": "Date and time",
"editWeather": "weather",
"editWeather": "Weather",
"editCategory": "Category",
"editTag": "Tag",
"editAddTag": "Add tag",

View File

@@ -88,6 +88,11 @@ class LockPage extends StatelessWidget {
return PopScope(
canPop: state.lockType != 'pause',
child: Scaffold(
appBar: AppBar(
leading: null,
automaticallyImplyLeading: false,
),
extendBodyBehindAppBar: true,
body: Center(
child: SingleChildScrollView(
scrollDirection: Axis.vertical,