[IMPROVEMENT] Open links as push instead of modal (#949)

This commit is contained in:
Diego Mello 2019-05-31 12:09:46 -03:00 committed by GitHub
parent 3126442794
commit 8db19c8a84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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;