diff --git a/AniStream/Adapters/ViewPagerAdapter.cs b/AniStream/Adapters/ViewPagerAdapter.cs index 0c3dfa7..22145d0 100644 --- a/AniStream/Adapters/ViewPagerAdapter.cs +++ b/AniStream/Adapters/ViewPagerAdapter.cs @@ -23,7 +23,7 @@ public ViewPagerAdapter(FragmentManager fm) : base(fm) Fragments.Add(AnimeFragment.NewInstance(SearchFilter.NewSeason)); Fragments.Add(AnimeFragment.NewInstance(SearchFilter.LastUpdated)); break; - case AnimeSites.Aniwatch: + case AnimeSites.Kaido: Fragments.Add(AnimeFragment.NewInstance(SearchFilter.Popular)); Fragments.Add(AnimeFragment.NewInstance(SearchFilter.NewSeason)); Fragments.Add(AnimeFragment.NewInstance(SearchFilter.TopAiring)); diff --git a/AniStream/Fragments/AnimeFragment.cs b/AniStream/Fragments/AnimeFragment.cs index b3e3049..df70c21 100644 --- a/AniStream/Fragments/AnimeFragment.cs +++ b/AniStream/Fragments/AnimeFragment.cs @@ -121,7 +121,7 @@ or AnimeSites.AnimePahe SearchFilter.LastUpdated => await provider.GetLastUpdatedAsync(Page), _ => throw new NotImplementedException(), }, - Aniwatch provider => _searchFilter switch + Kaido provider => _searchFilter switch { SearchFilter.Popular => await provider.GetPopularAsync(Page), SearchFilter.NewSeason => await provider.GetRecentlyAddedAsync(Page), diff --git a/AniStream/MainActivity.cs b/AniStream/MainActivity.cs index f3e884b..1681211 100644 --- a/AniStream/MainActivity.cs +++ b/AniStream/MainActivity.cs @@ -283,7 +283,7 @@ private void SetupViewPager() case AnimeSites.GogoAnime: bottomNavigationView.InflateMenu(Resource.Menu.bottommenu2); break; - case AnimeSites.Aniwatch: + case AnimeSites.Kaido: bottomNavigationView.InflateMenu(Resource.Menu.bottommenu4); break; case AnimeSites.AnimePahe: @@ -398,7 +398,7 @@ private async void SetupSources(IMenu menu) WeebUtils.AnimeSite = (AnimeSites)Convert.ToInt32(animeSiteStr); var gogoanime = menu.FindItem(Resource.Id.source_gogoanime); - var aniwatch = menu.FindItem(Resource.Id.source_aniwatch); + var kaido = menu.FindItem(Resource.Id.source_kaido); var animepahe = menu.FindItem(Resource.Id.source_animepahe); var nineanime = menu.FindItem(Resource.Id.source_nineanime); var otakudesu = menu.FindItem(Resource.Id.source_otakudesu); @@ -408,8 +408,8 @@ private async void SetupSources(IMenu menu) case AnimeSites.GogoAnime: gogoanime?.SetChecked(true); break; - case AnimeSites.Aniwatch: - aniwatch?.SetChecked(true); + case AnimeSites.Kaido: + kaido?.SetChecked(true); break; case AnimeSites.AnimePahe: animepahe?.SetChecked(true); @@ -467,8 +467,8 @@ private async void SaveSelectedSource(int id) if (id == Resource.Id.source_gogoanime) WeebUtils.AnimeSite = AnimeSites.GogoAnime; - else if (id == Resource.Id.source_aniwatch) - WeebUtils.AnimeSite = AnimeSites.Aniwatch; + else if (id == Resource.Id.source_kaido) + WeebUtils.AnimeSite = AnimeSites.Kaido; else if (id == Resource.Id.source_animepahe) WeebUtils.AnimeSite = AnimeSites.AnimePahe; else if (id == Resource.Id.source_nineanime) diff --git a/AniStream/Resources/menu/drawer.xml b/AniStream/Resources/menu/drawer.xml index 2db56a9..7559048 100644 --- a/AniStream/Resources/menu/drawer.xml +++ b/AniStream/Resources/menu/drawer.xml @@ -8,9 +8,9 @@ android:titleCondensed="Gogoanime" android:title="Gogoanime" app:actionViewClass="android.widget.RadioButton" /> - new Aniwatch(() => httpClient), + AnimeSites.Kaido => new Kaido(() => httpClient), AnimeSites.AnimePahe => new AnimePahe(() => httpClient), AnimeSites.NineAnime => new NineAnime(() => httpClient), AnimeSites.OtakuDesu => new OtakuDesu(() => httpClient),