chore: generate

This commit is contained in:
opencode-agent[bot]
2026-04-24 05:28:43 +00:00
parent 2e156b8990
commit 6c1268f3b1
@@ -128,26 +128,25 @@ export const SettingsGeneral: Component = () => {
return return
} }
const actions = const actions = platform.updateAndRestart
platform.updateAndRestart ? [
? [ {
{ label: language.t("toast.update.action.installRestart"),
label: language.t("toast.update.action.installRestart"), onClick: async () => {
onClick: async () => { await platform.updateAndRestart!()
await platform.updateAndRestart!()
},
}, },
{ },
label: language.t("toast.update.action.notYet"), {
onClick: "dismiss" as const, label: language.t("toast.update.action.notYet"),
}, onClick: "dismiss" as const,
] },
: [ ]
{ : [
label: language.t("toast.update.action.notYet"), {
onClick: "dismiss" as const, label: language.t("toast.update.action.notYet"),
}, onClick: "dismiss" as const,
] },
]
showToast({ showToast({
persistent: true, persistent: true,