diff --git a/apps/documenteditor/mobile/src/view/edit/EditParagraph.jsx b/apps/documenteditor/mobile/src/view/edit/EditParagraph.jsx index bec2b3377..31b0943c8 100644 --- a/apps/documenteditor/mobile/src/view/edit/EditParagraph.jsx +++ b/apps/documenteditor/mobile/src/view/edit/EditParagraph.jsx @@ -196,12 +196,11 @@ const EditParagraph = props => { const paragraph = props.storeFocusObjects.paragraphObject; const curBackColor = storeParagraphSettings.backColor ? storeParagraphSettings.backColor : storeParagraphSettings.getBackgroundColor(paragraph); const background = curBackColor !== 'transparent' ? `#${(typeof curBackColor === "object" ? curBackColor.color : curBackColor)}` : curBackColor; - const activeStyle = Device.android ? 'link no-active-state' : 'no-active-state'; return ( {t('Edit.textParagraphStyle')} - + { const paragraphStyles = storeParagraphSettings.paragraphStyles; const curStyleName = storeParagraphSettings.styleName; const thumbSize = storeParagraphSettings.styleThumbSize; - const activeStyle = Device.android ? 'link no-active-state' : 'no-active-state'; return ( @@ -266,7 +264,7 @@ const EditParagraphStyle = props => { {Device.android && } - + {paragraphStyles.map((style, index) => ( { const storeParagraphSettings = props.storeParagraphSettings; const paragraphStyles = storeParagraphSettings.paragraphStyles; const thumbSize = storeParagraphSettings.styleThumbSize; - const activeStyle = Device.android ? 'link no-active-state' : 'no-active-state'; const [newParagraph, setParagraph] = useState(nextParagraphStyle); return ( - + { if(newParagraph) { setParagraph('');