File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed
src/CommandLineTool/Commands Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments