mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2025-12-17 15:24:35 +01:00
fix & opt
fix: whether display docker edit host opt: docker funcs
This commit is contained in:
@@ -126,7 +126,7 @@ class _PkgManagePageState extends State<PkgManagePage>
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
centerTitle: true,
|
||||
title: TwoLineText(up: 'Apt', down: widget.spi.name),
|
||||
title: TwoLineText(up: _s.pkg, down: widget.spi.name),
|
||||
),
|
||||
body: Consumer<PkgProvider>(builder: (_, apt, __) {
|
||||
if (apt.error != null) {
|
||||
@@ -141,8 +141,11 @@ class _PkgManagePageState extends State<PkgManagePage>
|
||||
const SizedBox(
|
||||
height: 37,
|
||||
),
|
||||
SizedBox(
|
||||
height: _media.size.height * 0.4,
|
||||
ConstrainedBox(
|
||||
constraints: BoxConstraints(
|
||||
maxHeight: _media.size.height * 0.3,
|
||||
minWidth: _media.size.width
|
||||
),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.all(17),
|
||||
child: RoundRectCard(
|
||||
@@ -150,7 +153,6 @@ class _PkgManagePageState extends State<PkgManagePage>
|
||||
padding: const EdgeInsets.all(17),
|
||||
child: Text(
|
||||
apt.error!,
|
||||
textAlign: TextAlign.center,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user