Skip to content

Commit

Permalink
Remove unnecessary code
Browse files Browse the repository at this point in the history
It is not a great watching experience for ios device if there are ads
  • Loading branch information
HenryQuan committed Nov 23, 2017
1 parent 04522c7 commit 12d25ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 1 addition & 9 deletions src/component/SourceCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,15 +65,7 @@ class SourceCell extends React.PureComponent {

WatchAnime = () => {
console.log(this.link);

if (Platform.OS == 'ios') {
var Browser = require('react-native-browser');
Browser.open(this.link, {
showPageTitles: false,
});
} else {
Linking.openURL(this.link).catch(error => {console.error(error)});
}
Linking.openURL(this.link).catch(error => {console.error(error)});
}
}

Expand Down
2 changes: 0 additions & 2 deletions src/core/VideoLoader.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import { GoGoAnime } from '../Constant';

export default class VideoLoader {

constructor(url) {
Expand Down

1 comment on commit 12d25ca

@HenryQuan
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems that github windows is having some issue and I could not sync... InAppBrowser is mostly done and now, I am styling UWP version.

Please sign in to comment.