Skip to content

Commit

Permalink
Fix show themes on theme:install command (#3357)
Browse files Browse the repository at this point in the history
* Fix show themes on theme:install command

* Fix theme:uninstall command
  • Loading branch information
hjuarez20 authored and jmolivas committed Jun 27, 2017
1 parent 302ebe0 commit 2c64b3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/Command/Theme/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ protected function interact(InputInterface $input, OutputInterface $output)
while (true) {
$theme_name = $io->choiceNoList(
$this->trans('commands.theme.install.questions.theme'),
array_keys($theme_list)
array_keys($theme_list),
null,
true
);

if (empty($theme_name)) {
Expand Down
4 changes: 3 additions & 1 deletion src/Command/Theme/UninstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ protected function interact(InputInterface $input, OutputInterface $output)
while (true) {
$theme_name = $io->choiceNoList(
$this->trans('commands.theme.uninstall.questions.theme'),
array_keys($theme_list)
array_keys($theme_list),
null,
true
);

if (empty($theme_name)) {
Expand Down

0 comments on commit 2c64b3c

Please sign in to comment.