mirror of
https://github.com/bartgryszko/react-native-circular-progress.git
synced 2026-01-18 16:13:10 +00:00
rm appstate
This commit is contained in:
parent
e6514b40c0
commit
1beee68608
@ -33,12 +33,6 @@ export default class CircularProgress extends React.Component {
|
||||
|
||||
clampFill = fill => Math.min(100, Math.max(0, fill));
|
||||
|
||||
componentDidMount = () => AppState.addEventListener('change', this.handleAppStateChange);
|
||||
|
||||
componentWillUnmount = () => AppState.removeEventListener('change', this.handleAppStateChange);
|
||||
|
||||
handleAppStateChange = appState => this.setState({ appState });
|
||||
|
||||
render() {
|
||||
const {
|
||||
size,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user