Skip to content

Commit bcacfc3

Browse files
committed
use tabler as the default theme
1 parent f210993 commit bcacfc3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/app/Console/Commands/Install.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -311,14 +311,14 @@ private function installTheme()
311311
}, 0);
312312

313313
$total = 0;
314-
$input = (int) $this->listChoice('Which Backpack theme would you like to install? <fg=gray>(enter option number: 1, 2 or 3)</>', $this->themes()->toArray());
315-
314+
$input = (int) $this->listChoice('Which Backpack theme would you like to install? <fg=gray>(enter option number: 1, 2 or 3)</>', $this->themes()->toArray(), 1);
315+
316316
if ($input < 1 || $input > $this->themes()->count()) {
317317
$this->deleteLines(3);
318-
$this->note('Skipping installing a theme.');
318+
$this->note('Unknown theme. Using default theme value.');
319319
$this->newLine();
320320

321-
return;
321+
$input = 1;
322322
}
323323

324324
// Clear list

0 commit comments

Comments
 (0)