PullToRefresh: switch back to the old loading indicator for now
This commit is contained in:
parent
94f3133dd4
commit
0b0e7188e3
|
@ -1,7 +1,6 @@
|
|||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import PTRComponent from 'react-simple-pull-to-refresh';
|
||||
import LoadingSpinner from 'soapbox/components/loading_spinner';
|
||||
|
||||
/**
|
||||
* PullToRefresh:
|
||||
|
@ -33,7 +32,7 @@ export default class PullToRefresh extends React.Component {
|
|||
onRefresh={this.handleRefresh}
|
||||
pullingContent={null}
|
||||
// `undefined` will fallback to the default, while `null` will render nothing
|
||||
refreshingContent={onRefresh ? <LoadingSpinner size={30} /> : null}
|
||||
refreshingContent={onRefresh ? undefined : null}
|
||||
pullDownThreshold={67}
|
||||
maxPullDownDistance={95}
|
||||
resistance={2}
|
||||
|
|
Loading…
Reference in New Issue