opt.: sync immediately after changes (#577)

This commit is contained in:
lollipopkit🏳️‍⚧️
2024-09-14 17:08:51 +08:00
committed by GitHub
parent d611fdcd50
commit 90b88ed795
17 changed files with 64 additions and 124 deletions

View File

@@ -137,7 +137,7 @@ class SSHPageState extends State<SSHPage>
_media.padding.top,
child: Padding(
padding: EdgeInsets.only(
top: widget.notFromTab ? CustomAppBar.barHeight ?? 0 : 0,
top: widget.notFromTab ? CustomAppBar.sysStatusBarHeight ?? 0 : 0,
left: _horizonPadding,
right: _horizonPadding,
),
@@ -155,7 +155,7 @@ class SSHPageState extends State<SSHPage>
showToolbar: isMobile,
viewOffset: Offset(
2 * _horizonPadding,
CustomAppBar.barHeight ?? _media.padding.top,
CustomAppBar.sysStatusBarHeight ?? _media.padding.top,
),
hideScrollBar: false,
focusNode: widget.focusNode,