From 8db19c8a84823b310b350d906ac7dc4d9d0be221 Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Fri, 31 May 2019 12:09:46 -0300 Subject: [PATCH] [IMPROVEMENT] Open links as push instead of modal (#949) --- app/utils/openLink/index.ios.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/utils/openLink/index.ios.js b/app/utils/openLink/index.ios.js index 056cf95ae..efa59b5f8 100644 --- a/app/utils/openLink/index.ios.js +++ b/app/utils/openLink/index.ios.js @@ -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;