add desktop app download message
This commit is contained in:
parent
511c0ed002
commit
fa697d3257
|
@ -503,7 +503,19 @@ export default function Upload(props: Props) {
|
||||||
} else if (type === UPLOAD_TYPE.FOLDERS) {
|
} else if (type === UPLOAD_TYPE.FOLDERS) {
|
||||||
props.showUploadDirsDialog();
|
props.showUploadDirsDialog();
|
||||||
} else {
|
} else {
|
||||||
appContext.setDialogMessage({ title: 'only on desktop' });
|
appContext.setDialogMessage({
|
||||||
|
title: constants.DOWNLOAD_APP,
|
||||||
|
content: constants.DOWNLOAD_APP_MESSAGE,
|
||||||
|
|
||||||
|
proceed: {
|
||||||
|
text: constants.DOWNLOAD,
|
||||||
|
action: downloadApp,
|
||||||
|
variant: 'accent',
|
||||||
|
},
|
||||||
|
close: {
|
||||||
|
text: constants.CLOSE,
|
||||||
|
},
|
||||||
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue