diff --git a/apps/common/mobile/lib/view/Search.jsx b/apps/common/mobile/lib/view/Search.jsx index d38dbd2f1..37b4d7f83 100644 --- a/apps/common/mobile/lib/view/Search.jsx +++ b/apps/common/mobile/lib/view/Search.jsx @@ -162,7 +162,7 @@ class SearchView extends Component { } onReplaceClick() { - if (this.searchbar && this.state.searchQuery) { + if (this.searchbar && this.state.replaceQuery) { if (this.props.onReplaceQuery) { let params = this.searchParams(); params.find = this.state.searchQuery; @@ -174,7 +174,7 @@ class SearchView extends Component { } onReplaceAllClick() { - if (this.searchbar && this.state.searchQuery) { + if (this.searchbar && this.state.replaceQuery) { if (this.props.onReplaceAllQuery) { let params = this.searchParams(); params.find = this.state.searchQuery; @@ -281,9 +281,9 @@ class SearchView extends Component { {/* this.onReplaceClick()}>{_t.textReplace} this.onReplaceAllClick()}>{_t.textReplaceAll} */} {isReplaceAll ? ( - this.onReplaceAllClick()}>{_t.textReplaceAll} + this.onReplaceAllClick()}>{_t.textReplaceAll} ) : usereplace ? ( - this.onReplaceClick()}>{_t.textReplace} + this.onReplaceClick()}>{_t.textReplace} ) : null}
diff --git a/apps/common/mobile/resources/less/about.less b/apps/common/mobile/resources/less/about.less index b1a021b47..2757dbb2b 100644 --- a/apps/common/mobile/resources/less/about.less +++ b/apps/common/mobile/resources/less/about.less @@ -13,9 +13,9 @@ .content-block { margin: 0 auto 15px; - a { - color: @text-normal; - } + // a { + // color: @text-normal; + // } } .settings-about-logo { diff --git a/apps/common/mobile/resources/less/common.less b/apps/common/mobile/resources/less/common.less index 90cffd6ec..22ec7ee5a 100644 --- a/apps/common/mobile/resources/less/common.less +++ b/apps/common/mobile/resources/less/common.less @@ -148,8 +148,8 @@ .about { .content-block { margin: 0 auto 15px; - a { - color: @black; + p:last-child { + text-decoration: underline; } } } diff --git a/apps/spreadsheeteditor/mobile/src/controller/Search.jsx b/apps/spreadsheeteditor/mobile/src/controller/Search.jsx index 7cbf2c6af..f67b8e065 100644 --- a/apps/spreadsheeteditor/mobile/src/controller/Search.jsx +++ b/apps/spreadsheeteditor/mobile/src/controller/Search.jsx @@ -183,7 +183,7 @@ const Search = withTranslation()(props => { let searchIn = +params.searchIn === 1; let searchBy = +params.searchBy === 0; - if (params.find && params.find.length) { + // if (params.find && params.find.length) { api.isReplaceAll = false; let options = new Asc.asc_CFindOptions(); @@ -198,7 +198,7 @@ const Search = withTranslation()(props => { options.asc_setIsReplaceAll(false); api.asc_replaceText(options); - } + // } } const onReplaceAllQuery = params => { @@ -207,7 +207,7 @@ const Search = withTranslation()(props => { let searchIn = +params.searchIn === 1; let searchBy = +params.searchBy === 0; - if (params.find && params.find.length) { + // if (params.find && params.find.length) { api.isReplaceAll = true; let options = new Asc.asc_CFindOptions(); @@ -222,7 +222,7 @@ const Search = withTranslation()(props => { options.asc_setIsReplaceAll(true); api.asc_replaceText(options); - } + // } } return