mirror of
https://github.com/ZhuJHua/moodiary.git
synced 2026-04-05 16:39:01 +08:00
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:
@@ -229,7 +229,7 @@
|
||||
"editPickAudioFromRecord": "Recording",
|
||||
"editPickAudioFromFile": "File Audio",
|
||||
"editDateAndTime": "Date and time",
|
||||
"editWeather": "weather",
|
||||
"editWeather": "Weather",
|
||||
"editCategory": "Category",
|
||||
"editTag": "Tag",
|
||||
"editAddTag": "Add tag",
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user