mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 07:14:28 +01:00
opt.: ssh tab top padding
This commit is contained in:
@@ -375,7 +375,10 @@ final class _AppBar extends CustomAppBar {
|
||||
valueListenable: selectIndex,
|
||||
builder: (_, idx, __) {
|
||||
if (idx == AppTab.ssh.index) {
|
||||
return SizedBox(height: CustomAppBar.barHeight);
|
||||
return SizedBox(
|
||||
height: CustomAppBar.barHeight ??
|
||||
0 + MediaQuery.of(context).padding.top,
|
||||
);
|
||||
}
|
||||
return super.build(context);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user