Skip to content

Commit

Permalink
fix bug 72951
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantin Kireyev committed Feb 12, 2025
1 parent 3235e1a commit 999eac5
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
6 changes: 6 additions & 0 deletions apps/presentationeditor/mobile/src/less/icons-material.less
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,12 @@
//background: url('../../../../common/mobile/resources/img/header/logo-android.svg') no-repeat center;
}

&.icon-check {
width: 24px;
height: 24px;
.encoded-svg-mask('<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 16.1719L19.5938 5.57812L21 6.98438L9 18.9844L3.42188 13.4062L4.82812 12L9 16.1719Z" fill="@{brandColor}" /></svg>');
}

&.icon-undo {
width: 22px;
height: 22px;
Expand Down
2 changes: 1 addition & 1 deletion apps/presentationeditor/mobile/src/view/Toolbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const ToolbarView = props => {
return (
<Fragment>
<NavLeft>
{props.isDrawMode && <Link text={Device.ios ? t("Toolbar.textOk") : ''} icon={Device.android ? 'icon-close' : null} className='back-reader-mode' onClick={() => Common.Notifications.trigger('draw:stop')}/>}
{props.isDrawMode && <Link text={Device.ios ? t("Toolbar.textOk") : ''} icon={Device.android ? 'icon-check' : null} className='back-reader-mode' onClick={() => Common.Notifications.trigger('draw:stop')}/>}
{(props.isShowBack && !props.isDrawMode && !isVersionHistoryMode) && <Link className={`btn-doc-back${(props.disabledControls || isOpenModal) && ' disabled'}`} icon='icon-return' onClick={() => Common.Notifications.trigger('goback')}></Link>}
{isVersionHistoryMode ? <a href="#" className='btn-close-history' onClick={(e) => {
e.preventDefault();
Expand Down
5 changes: 5 additions & 0 deletions apps/spreadsheeteditor/mobile/src/less/icons-material.less
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,11 @@
// Overwrite color for toolbar
.navbar {
i.icon {
&.icon-check {
width: 24px;
height: 24px;
.encoded-svg-mask('<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 16.1719L19.5938 5.57812L21 6.98438L9 18.9844L3.42188 13.4062L4.82812 12L9 16.1719Z" fill="@{brandColor}" /></svg>');
}
&.icon-logo {
width: 100px;
height: 14px;
Expand Down
2 changes: 1 addition & 1 deletion apps/spreadsheeteditor/mobile/src/view/Toolbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const ToolbarView = props => {
return (
<Fragment>
<NavLeft>
{props.isDrawMode && <Link text={Device.ios ? t("Toolbar.textOk") : ''} icon={Device.android ? 'icon-close' : null} className='back-reader-mode' onClick={() => Common.Notifications.trigger('draw:stop')}/>}
{props.isDrawMode && <Link text={Device.ios ? t("Toolbar.textOk") : ''} icon={Device.android ? 'icon-check' : null} className='back-reader-mode' onClick={() => Common.Notifications.trigger('draw:stop')}/>}
{(!props.isDrawMode && props.isShowBack && !isVersionHistoryMode) && <Link className={`btn-doc-back${(props.disabledControls || isOpenModal) && ' disabled'}`} icon='icon-return' onClick={() => Common.Notifications.trigger('goback')}></Link>}
{isVersionHistoryMode ? <a href="#" className='btn-close-history' onClick={(e) => {
e.preventDefault();
Expand Down

0 comments on commit 999eac5

Please sign in to comment.