fix: docker version (#276)

This commit is contained in:
lollipopkit
2024-02-15 15:49:07 +08:00
parent 7c816ec20a
commit d605db5c8f
5 changed files with 31 additions and 40 deletions

View File

@@ -96,7 +96,6 @@ class ContainerProvider extends ChangeNotifier {
try {
final imgLines = imageRaw.split('\n');
imgLines.removeWhere((element) => element.isEmpty);
if (imgLines.isNotEmpty) imgLines.removeAt(0);
images = imgLines.map((e) => ContainerImg.fromRawJson(e, type)).toList();
} catch (e, trace) {
error = ContainerErr(