From d282182ab56053ef9d46fc256f3f884833544034 Mon Sep 17 00:00:00 2001 From: Yiheng Date: Wed, 21 Mar 2018 14:42:20 +1100 Subject: [PATCH] Schedule This is the last feature for now Former-commit-id: cbbc984bb26bbf8645089b6a96bc00665f31a8e2 --- AnimeGo/src/app/App.android.js | 1 + AnimeGo/src/helper/core/AnimeSourceLoader.js | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/AnimeGo/src/app/App.android.js b/AnimeGo/src/app/App.android.js index e84da76..bd4f5a0 100644 --- a/AnimeGo/src/app/App.android.js +++ b/AnimeGo/src/app/App.android.js @@ -62,6 +62,7 @@ export default class App extends Component { this.onChangingScreen(ScreenIndex.NewRelease)}/> this.onChangingScreen(ScreenIndex.NewSeason)}/> + this.onChangingScreen(ScreenIndex.Movie)}/> this.onChangingScreen(ScreenIndex.Popular)}/> diff --git a/AnimeGo/src/helper/core/AnimeSourceLoader.js b/AnimeGo/src/helper/core/AnimeSourceLoader.js index c6115b0..2780182 100755 --- a/AnimeGo/src/helper/core/AnimeSourceLoader.js +++ b/AnimeGo/src/helper/core/AnimeSourceLoader.js @@ -64,9 +64,7 @@ export default class AnimeSourceLoader { prev = nextPrev.childNodes[0].childNodes[1]; next = nextPrev.childNodes[2].childNodes[1]; if (prev != null) prev = MajorLink.MainURL + prev.attributes.href; - else prev = ''; if (next != null) next = MajorLink.MainURL + next.attributes.href; - else next = ''; } success([animeData, prev, next]);