Browse Source

ActivityIndicator fix

master
meriadec 7 years ago
parent
commit
469e21995e
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 2
      src/components/TopBar/ActivityIndicator.js

2
src/components/TopBar/ActivityIndicator.js

@ -70,7 +70,7 @@ class ActivityIndicatorInner extends Component<Props, State> {
render() {
const { isPending, isError, t } = this.props
const { hasClicked, isFirstSync } = this.state
const isDisabled = isFirstSync || hasClicked || isError
const isDisabled = isError || (isPending && (isFirstSync || hasClicked))
const isRotating = isPending && (hasClicked || isFirstSync)
return (

Loading…
Cancel
Save