diff --git a/src/components/settings/services/greader.tsx b/src/components/settings/services/greader.tsx index 683cbdf..8300e6a 100644 --- a/src/components/settings/services/greader.tsx +++ b/src/components/settings/services/greader.tsx @@ -64,6 +64,7 @@ class GReaderConfigsTab extends React.Component { - return this.state.existing || (this.state.username && this.state.password) + return (this.state.existing || (this.state.username && this.state.password)) + && this.state.apiId && this.state.apiKey } save = async () => { @@ -71,18 +76,25 @@ class InoreaderConfigsTab extends React.Component window.utils.openExternal(this.state.endpoint + "/all_articles#preferences-developer") + remove = async () => { this.props.exit() await this.props.remove() @@ -106,8 +120,9 @@ class InoreaderConfigsTab extends React.Component }> + actions={}> {intl.get("service.rateLimitWarning")} + {intl.get("rules.help")} {!this.state.existing && ( {intl.get("service.overwriteWarning")} @@ -155,6 +170,32 @@ class InoreaderConfigsTab extends React.Component + + + + + + + + + + + + + + + + @@ -166,10 +207,10 @@ class InoreaderConfigsTab extends React.Component - {!this.state.existing && this.setState({importGroups: c})} />} + this.setState({removeAd: c})} />