diff --git a/src/vector/platform/ElectronPlatform.tsx b/src/vector/platform/ElectronPlatform.tsx index 1e41db9e7d..23b8a0f9c8 100644 --- a/src/vector/platform/ElectronPlatform.tsx +++ b/src/vector/platform/ElectronPlatform.tsx @@ -170,8 +170,8 @@ export default class ElectronPlatform extends VectorBasePlatform { title: _t("download_completed"), props: { description: name, - acceptLabel: _t("action|open"), - onAccept, + primaryLabel: _t("action|open"), + onPrimaryClick: onAccept, dismissLabel: _t("action|dismiss"), onDismiss, numSeconds: 10,