[SSE mobile] Bug 47073

This commit is contained in:
SergeyEzhin 2021-05-21 19:45:02 +03:00
parent 1cce447301
commit 1ffa6d8c9d

View file

@ -10,21 +10,11 @@ class DownloadController extends Component {
this.onSaveFormat = this.onSaveFormat.bind(this);
}
closeModal() {
if (Device.phone) {
f7.sheet.close('.settings-popup', true);
} else {
f7.popover.close('#settings-popover');
}
}
onSaveFormat(format) {
const api = Common.EditorApi.get();
const { t } = this.props;
const _t = t("View.Settings", {returnObjects: true});
this.closeModal();
if (format) {
if (format == Asc.c_oAscFileType.CSV) {
f7.dialog.confirm(