diff --git a/src/components/bookCoverItem/component.tsx b/src/components/bookCoverItem/component.tsx index 8501b412..f158a870 100644 --- a/src/components/bookCoverItem/component.tsx +++ b/src/components/bookCoverItem/component.tsx @@ -194,7 +194,7 @@ class BookCoverItem extends React.Component { onClick={() => { this.handleCancelLoveBook(); }} - style={{ right: "300px" }} + style={{ right: "274px", bottom: "25px" }} > ) : null} @@ -229,7 +229,7 @@ class BookCoverItem extends React.Component { onClick={() => { this.handleLoveBook(); }} - style={{ right: "270px", bottom: "55px" }} + style={{ right: "275px", bottom: "25px" }} > ) : null} diff --git a/src/components/updateInfo/component.tsx b/src/components/updateInfo/component.tsx index 4a79c40d..c951ae9e 100644 --- a/src/components/updateInfo/component.tsx +++ b/src/components/updateInfo/component.tsx @@ -50,7 +50,7 @@ class UpdateInfo extends React.Component { this.props.handleNewDialog(true); } else if ( OtherUtil.getReaderConfig("version") !== newVersion && - OtherUtil.getReaderConfig("isFirst") !== "yes" + OtherUtil.getReaderConfig("isFirst") ) { this.setState({ isUpdated: true }); this.props.handleNewDialog(true); @@ -115,10 +115,12 @@ class UpdateInfo extends React.Component { > -
- You successfully update to - {" " + version} -
+ {this.state.isUpdated && ( +
+ You successfully update to + {" " + version} +
+ )}
{this.state.isUpdated ? (