Flip the auto install buttons.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
Akos Kitta 2019-12-04 19:33:31 +01:00
parent b6b4c75718
commit 5aeb2d388e

View File

@ -41,7 +41,7 @@ export class BoardsAutoInstaller implements FrontendApplicationContribution {
.filter(({ installable, installedVersion }) => installable && !installedVersion); .filter(({ installable, installedVersion }) => installable && !installedVersion);
for (const candidate of candidates) { for (const candidate of candidates) {
// tslint:disable-next-line:max-line-length // tslint:disable-next-line:max-line-length
this.messageService.info(`The \`"${candidate.name}"\` core has to be installed for the currently selected \`"${selectedBoard.name}"\` board. Do you want to install it now?`, 'Yes', 'Install Manually').then(async answer => { this.messageService.info(`The \`"${candidate.name}"\` core has to be installed for the currently selected \`"${selectedBoard.name}"\` board. Do you want to install it now?`, 'Install Manually', 'Yes').then(async answer => {
if (answer === 'Yes') { if (answer === 'Yes') {
const dialog = new InstallationProgressDialog(candidate.name, candidate.availableVersions[0]); const dialog = new InstallationProgressDialog(candidate.name, candidate.availableVersions[0]);
dialog.open(); dialog.open();