From 86be121bc7f0fcd4a348bf69005750372c561018 Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Wed, 25 May 2022 13:50:57 +0400 Subject: [PATCH] [PE mobile] Add png and jpg formats for download --- .../mobile/src/less/icons-common.less | 10 ++++++++++ .../mobile/src/view/settings/Download.jsx | 6 ++++++ 2 files changed, 16 insertions(+) diff --git a/apps/presentationeditor/mobile/src/less/icons-common.less b/apps/presentationeditor/mobile/src/less/icons-common.less index 65985f829..d142c6ed5 100644 --- a/apps/presentationeditor/mobile/src/less/icons-common.less +++ b/apps/presentationeditor/mobile/src/less/icons-common.less @@ -22,4 +22,14 @@ i.icon { height: 22px; .encoded-svg-background(''); } + &.icon-format-png { + width: 22px; + height: 22px; + .encoded-svg-background('') + } + &.icon-format-jpg { + width: 22px; + height: 22px; + .encoded-svg-background('') + } } \ No newline at end of file diff --git a/apps/presentationeditor/mobile/src/view/settings/Download.jsx b/apps/presentationeditor/mobile/src/view/settings/Download.jsx index d285d819e..3445eebb7 100644 --- a/apps/presentationeditor/mobile/src/view/settings/Download.jsx +++ b/apps/presentationeditor/mobile/src/view/settings/Download.jsx @@ -29,6 +29,12 @@ const Download = props => { props.onSaveFormat(Asc.c_oAscFileType.OTP)}> + props.onSaveFormat(Asc.c_oAscFileType.PNG)}> + + + props.onSaveFormat(Asc.c_oAscFileType.JPG)}> + + )