File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,8 +116,9 @@ abstract class DiskSmart with _$DiskSmart {
116116 // smart_status
117117 final rootSmartStatus = data['smart_status' ]? .toString ().toLowerCase ();
118118 if (rootSmartStatus != null ) {
119- if (rootSmartStatus.contains ('pass' ) || rootSmartStatus.contains ('ok' ))
119+ if (rootSmartStatus.contains ('pass' ) || rootSmartStatus.contains ('ok' )) {
120120 return true ;
121+ }
121122 if (rootSmartStatus.contains ('fail' )) return false ;
122123 }
123124
Original file line number Diff line number Diff line change @@ -85,8 +85,9 @@ class ContainerNotifier extends _$ContainerNotifier {
8585
8686 void _requiresSudo () async {
8787 /// Podman is rootless
88- if (state.type == ContainerType .podman)
88+ if (state.type == ContainerType .podman) {
8989 return sudoCompleter.complete (false );
90+ }
9091 if (! Stores .setting.containerTrySudo.fetch ()) {
9192 return sudoCompleter.complete (false );
9293 }
You can’t perform that action at this time.
0 commit comments