Skip to content

Commit

Permalink
Bugfix: phishing modal (#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
estebanmino authored May 2, 2019
1 parent 054643d commit 66c70f0
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions app/components/Views/BrowserTab/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1680,14 +1680,6 @@ export class BrowserTab extends PureComponent {
);
}

onBrowserHomeGoToUrl = url => {
this.props.navigation.setParams({
url,
silent: false,
showUrlModal: false
});
};

getUserAgent() {
if (Platform.OS === 'android') {
return 'Mozilla/5.0 (Linux; Android 8.1.0; Android SDK built for x86 Build/OSM1.180201.023) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.98 Mobile Safari/537.36';
Expand Down Expand Up @@ -1743,7 +1735,7 @@ export class BrowserTab extends PureComponent {
{this.renderProgressBar()}
{!isHidden && url === HOMEPAGE_URL ? (
<View style={styles.homepage}>
<BrowserHome goToUrl={this.onBrowserHomeGoToUrl} navigation={this.props.navigation} />
<BrowserHome goToUrl={this.go} navigation={this.props.navigation} />
</View>
) : null}
{!isHidden && this.renderUrlModal()}
Expand Down

0 comments on commit 66c70f0

Please sign in to comment.