diff --git a/lib/screens/anime_details_screen.dart b/lib/screens/anime_details_screen.dart index fa554e9..191e739 100644 --- a/lib/screens/anime_details_screen.dart +++ b/lib/screens/anime_details_screen.dart @@ -454,7 +454,7 @@ class _AnimeDetailsScreenState extends State { ); } - void openWrongTitleDialog(BuildContext context, double width, double heigh, + void openWrongTitleDialog(BuildContext context, double width, double height, void Function(void Function()) updateOutsideState) { showDialog( context: context, @@ -469,14 +469,26 @@ class _AnimeDetailsScreenState extends State { //NOTE Must be container content: Container( width: width * 0.5, - height: heigh * 0.5, + height: height * 0.5, + decoration: const BoxDecoration( + image: DecorationImage( + fit: BoxFit.cover, + alignment: Alignment.bottomCenter, + opacity: 0.1, + image: NetworkImage("https://i.imgur.com/fUX8AXq.png"), + ), + ), child: Column( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Column( children: [ + SizedBox( + height: height * 0.05, + ), const Text("Please select new title or search for one", - style: TextStyle(color: Colors.white)), + style: + TextStyle(color: Colors.white, fontSize: 22)), const SizedBox( height: 30, ), @@ -484,7 +496,7 @@ class _AnimeDetailsScreenState extends State { mainAxisAlignment: MainAxisAlignment.center, children: [ DropdownMenu( - width: 350, + width: width * 0.4, textStyle: const TextStyle(color: Colors.white), menuStyle: const MenuStyle( backgroundColor: MaterialStatePropertyAll( @@ -1179,7 +1191,6 @@ class _AnimeDetailsScreenState extends State { fontSize: 15, fontWeight: FontWeight.normal), ), - IconButton( onPressed: () { if ((currentEpisodes + 1) * 30 > diff --git a/lib/screens/anime_screen.dart b/lib/screens/anime_screen.dart index fb5e096..1385fe5 100644 --- a/lib/screens/anime_screen.dart +++ b/lib/screens/anime_screen.dart @@ -16,7 +16,7 @@ class AnimeScreen extends StatefulWidget { State createState() => _AnimeScreenState(); } -void Function() resumeAnimePageTimer =(){}; +void Function() resumeAnimePageTimer = () {}; class _AnimeScreenState extends State { List recentlyReleased = []; @@ -371,6 +371,7 @@ class _AnimeScreenState extends State { AnimeButton( text: "Advanced Search", onTap: () { + // pageTimer.cancel(); Navigator.of(context).push(MaterialPageRoute( builder: (context) => const MediaSearchScreen( type: "ANIME", diff --git a/lib/screens/manga_details_screen.dart b/lib/screens/manga_details_screen.dart index 7ee80e2..a6945e5 100644 --- a/lib/screens/manga_details_screen.dart +++ b/lib/screens/manga_details_screen.dart @@ -347,7 +347,7 @@ class _MangaDetailsScreenState extends State { ); } - void openWrongTitleDialog(BuildContext context, double width, double heigh, + void openWrongTitleDialog(BuildContext context, double width, double height, void Function(void Function()) updateOutsideState) { showDialog( context: context, @@ -362,12 +362,23 @@ class _MangaDetailsScreenState extends State { //NOTE Must be container content: Container( width: width * 0.5, - height: heigh * 0.5, + height: height * 0.5, + decoration: const BoxDecoration( + image: DecorationImage( + fit: BoxFit.cover, + alignment: Alignment.bottomCenter, + opacity: 0.1, + image: NetworkImage("https://i.imgur.com/fUX8AXq.png"), + ), + ), child: Column( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Column( children: [ + SizedBox( + height: height * 0.05, + ), const Text("Please select new title or search for one", style: TextStyle(color: Colors.white)), const SizedBox( @@ -377,7 +388,7 @@ class _MangaDetailsScreenState extends State { mainAxisAlignment: MainAxisAlignment.center, children: [ DropdownMenu( - width: 350, + width: width * 0.4, textStyle: const TextStyle(color: Colors.white), menuStyle: const MenuStyle( backgroundColor: MaterialStatePropertyAll(