Skip to content

Commit a37ab39

Browse files
author
irgendeinich
committed
Fix deprecation warnings
1 parent 1566575 commit a37ab39

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

samples/Catalog/Catalog.android.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ class PdfViewScreen extends Component<{}> {
301301
};
302302
}
303303

304-
componentWillMount() {
304+
componentDidMount() {
305305
this.props.navigation.setParams({
306306
handleAnnotationButtonPress: () => {
307307
if (
@@ -474,7 +474,7 @@ class PdfViewListenersScreen extends Component<{}> {
474474
};
475475
}
476476

477-
componentWillMount() {
477+
componentDidMount() {
478478
this.props.navigation.setParams({
479479
handleAnnotationButtonPress: () => {
480480
if (
@@ -546,7 +546,7 @@ class PdfViewInstantJsonScreen extends Component<{}> {
546546
};
547547
}
548548

549-
componentWillMount() {
549+
componentDidMount() {
550550
this.props.navigation.setParams({
551551
handleAnnotationButtonPress: () => {
552552
if (

0 commit comments

Comments
 (0)