Add popup fullscreen and timeout options

This commit is contained in:
2022-07-16 22:25:35 +00:00
parent 09faf4a286
commit e9f40aba93
5 changed files with 249 additions and 66 deletions

View File

@@ -41,13 +41,10 @@ loadDevTools().then(() => {
"Unregister device",
`Are you sure you want to unregister device ${deviceID}?`,
{
dismissable: false,
primary_action: {
label: "Yes",
callback: unregisterCallback,
},
secondary_action: {
label: "No",
primary_action: "Yes",
secondary_action: "No",
callbacks: {
primary_action: unregisterCallback,
},
}
);