mirror of
https://github.com/lollipopkit/flutter_server_box.git
synced 2026-02-01 22:04:45 +01:00
Support yum.
This commit is contained in:
@@ -129,7 +129,7 @@ class _AptManagePageState extends State<AptManagePage>
|
||||
);
|
||||
}
|
||||
|
||||
Widget _buildUpdateItem(AptUpgradePkgInfo info, AptProvider apt) {
|
||||
Widget _buildUpdateItem(UpgradePkgInfo info, AptProvider apt) {
|
||||
return ListTile(
|
||||
title: Text(info.package),
|
||||
subtitle: Text(
|
||||
|
||||
@@ -194,10 +194,9 @@ class _ServerDetailPageState extends State<ServerDetailPage>
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
_buildMemExplain((ss.memory.used * mb).convertBytes, pColor),
|
||||
_buildMemExplain(
|
||||
(ss.memory.used * mb).convertBytes, pColor),
|
||||
_buildMemExplain((ss.memory.cache * mb).convertBytes,
|
||||
pColor.withAlpha(77)),
|
||||
(ss.memory.cache * mb).convertBytes, pColor.withAlpha(77)),
|
||||
_buildMemExplain(
|
||||
((ss.memory.total - ss.memory.used) * mb).convertBytes,
|
||||
progressColor.resolve(context))
|
||||
|
||||
Reference in New Issue
Block a user