Created
April 23, 2019 09:26
-
-
Save thomascuriger/4d87aee9976eb4477354926cc921e4ad to your computer and use it in GitHub Desktop.
shit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ThemeContext.Provider value={getTheme(brotheme)}> | |
<SafeAreaView style={{ flex: 1, backgroundColor: '#fff' }}> | |
<View style={{ flex: 1 }}> | |
<View> | |
<Toolbar | |
leftElement="arrow-back" | |
onLeftElementPress={() => this.props.navigation.goBack()} | |
centerElement={i18n.t("General.toolbar_transport")} | |
style={{ | |
titleText: { | |
fontWeight: '100', | |
fontFamily: "din-light", | |
}, | |
}} | |
/> | |
</View> | |
<View> | |
<WebView | |
source={{ uri: 'https://www.zuerichmarathon.ch/kopie-von-anreise-transfer-de' }} | |
javaScriptEnabled={true} | |
scalesPageToFit={false} | |
injectedJavaScript={'document.getElementById("SITE_HEADER").style.display = "none";document.getElementById("SITE_BACKGROUND").style.display = "none";document.getElementById("SITE_FOOTER").style.display = "none";'} | |
/> | |
</View> | |
</View> | |
</SafeAreaView> | |
</ThemeContext.Provider> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment