Skip to content

Commit c9c7b38

Browse files
committed
remove old code
1 parent 24d9d97 commit c9c7b38

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

src/CommandLineTool/Commands/StatusCommand.cs

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,17 +102,9 @@ public override async Task OnExecuteAsync(CancellationToken ct)
102102
{
103103
AddEmptyLine();
104104
properties.Add(["Permissions:"]);
105-
106-
if (state.Permissions == null)
107-
{
108-
properties.Add(["", "No available"]);
109-
}
110-
else
111-
{
112-
properties.Add(["", "Change playlists", state.Permissions.ChangePlaylists.ToString()]);
113-
properties.Add(["", "Change output device", state.Permissions.ChangeOutput.ToString()]);
114-
properties.Add(["", "Change client configuration", state.Permissions.ChangeClientConfig.ToString()]);
115-
}
105+
properties.Add(["", "Change playlists", state.Permissions.ChangePlaylists.ToString()]);
106+
properties.Add(["", "Change output device", state.Permissions.ChangeOutput.ToString()]);
107+
properties.Add(["", "Change client configuration", state.Permissions.ChangeClientConfig.ToString()]);
116108
}
117109

118110
if (Version || All)

0 commit comments

Comments
 (0)