add desktop app download message

This commit is contained in:
Abhinav 2022-06-27 13:48:42 +05:30
parent 511c0ed002
commit fa697d3257

View file

@ -503,7 +503,19 @@ export default function Upload(props: Props) {
} else if (type === UPLOAD_TYPE.FOLDERS) {
props.showUploadDirsDialog();
} 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,
},
});
}
};