[IMPROVEMENT] Open links as push instead of modal (#949)
This commit is contained in:
parent
3126442794
commit
8db19c8a84
|
@ -1,5 +1,7 @@
|
|||
import SafariView from 'react-native-safari-view';
|
||||
|
||||
const openLink = url => SafariView.show({ url, fromBottom: true, tintColor: '#292E35' });
|
||||
import { HEADER_BACK } from '../../constants/colors';
|
||||
|
||||
const openLink = url => SafariView.show({ url, fromBottom: false, tintColor: HEADER_BACK });
|
||||
|
||||
export default openLink;
|
||||
|
|
Loading…
Reference in New Issue