Skip to content

Commit 5087ff0

Browse files
Primary action to the right of the notification box (#1234)
1 parent 71d5a15 commit 5087ff0

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

arduino-ide-extension/src/browser/boards/boards-auto-installer.ts

+10-10
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,16 @@ export class BoardsAutoInstaller implements FrontendApplicationContribution {
237237
);
238238

239239
const actions: AutoInstallPromptActions = [
240+
{
241+
key: manualInstall,
242+
handler: () => {
243+
this.boardsManagerFrontendContribution
244+
.openView({ reveal: true })
245+
.then((widget) =>
246+
widget.refresh(candidate.name.toLocaleLowerCase())
247+
);
248+
},
249+
},
240250
{
241251
isAcceptance: true,
242252
key: yes,
@@ -250,16 +260,6 @@ export class BoardsAutoInstaller implements FrontendApplicationContribution {
250260
});
251261
},
252262
},
253-
{
254-
key: manualInstall,
255-
handler: () => {
256-
this.boardsManagerFrontendContribution
257-
.openView({ reveal: true })
258-
.then((widget) =>
259-
widget.refresh(candidate.name.toLocaleLowerCase())
260-
);
261-
},
262-
},
263263
];
264264

265265
return actions;

0 commit comments

Comments
 (0)