fix: resolve Docker interface blank issue caused by LateInitializationError (#884)

This commit is contained in:
lollipopkit🏳️‍⚧️
2025-09-02 12:44:05 +08:00
committed by GitHub
parent efc0315c93
commit 6b52679942

View File

@@ -38,11 +38,6 @@ class ContainerNotifier extends _$ContainerNotifier {
@override
ContainerState build(SSHClient? client, String userName, String hostId, BuildContext context) {
this.client = client;
this.userName = userName;
this.hostId = hostId;
this.context = context;
final type = Stores.container.getType(hostId);
final initialState = ContainerState(type: type);