Skip to content

Commit

Permalink
- Fixed Search Pages Inconsistencies
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanYuuki committed Aug 19, 2024
1 parent f1dde75 commit 3c8c8ef
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/pages/Anime/search_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class _SearchPageState extends State<SearchPage> {
Navigator.pop(context);
},
icon: const Icon(IconlyBold.arrow_left)),
const SizedBox(width: 10),
Expanded(
child: TextField(
controller: controller,
Expand Down
2 changes: 1 addition & 1 deletion lib/pages/Anime/streaming_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class _StreamingPageState extends State<StreamingPage> {
int? currentEpisode;
bool isDub = false;
int? availEpisodes;
bool isList = true;
bool isList = false;
List<dynamic> filteredEpisodes = [];

final String baseUrl = 'https://aniwatch-ryan.vercel.app/anime/';
Expand Down
4 changes: 3 additions & 1 deletion lib/pages/Manga/search_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ class _MangaSearchPageState extends State<MangaSearchPage> {
Navigator.pop(context);
},
icon: const Icon(IconlyBold.arrow_left)),
const SizedBox(width: 10),
Expanded(
child: TextField(
controller: controller,
Expand Down Expand Up @@ -108,7 +109,8 @@ class _MangaSearchPageState extends State<MangaSearchPage> {
),
child: GestureDetector(
onTap: () {
Navigator.pushNamed(context, '/manga/details',
Navigator.pushNamed(
context, '/manga/details',
arguments: {"id": anime['id']});
},
child: ClipRRect(
Expand Down

0 comments on commit 3c8c8ef

Please sign in to comment.