mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-24 04:25:34 +08:00
Fix backAndroid warning (#1520)
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
/* @flow */
|
||||
|
||||
import { BackAndroid, Linking } from 'react-native';
|
||||
import {
|
||||
BackAndroid as DeprecatedBackAndroid,
|
||||
BackHandler,
|
||||
Linking,
|
||||
} from 'react-native';
|
||||
|
||||
const BackAndroid = BackHandler || DeprecatedBackAndroid;
|
||||
|
||||
export { BackAndroid, Linking };
|
||||
|
||||
Reference in New Issue
Block a user