From c936eda5406cbeaebdb736782ce7ccf6537ba0f5 Mon Sep 17 00:00:00 2001 From: kodjomoustapha <107993382+kodjodevf@users.noreply.github.com> Date: Fri, 19 May 2023 17:13:16 +0100 Subject: [PATCH] fix* --- lib/modules/manga/detail/manga_detail_view.dart | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/lib/modules/manga/detail/manga_detail_view.dart b/lib/modules/manga/detail/manga_detail_view.dart index 4c9e5ca4..14591d07 100644 --- a/lib/modules/manga/detail/manga_detail_view.dart +++ b/lib/modules/manga/detail/manga_detail_view.dart @@ -199,14 +199,22 @@ class _MangaDetailViewState extends ConsumerState Container( width: mediaWidth(context, 1), height: AppBar().preferredSize.height, - color: Theme.of(context) - .scaffoldBackgroundColor, + color: isTablet(context) + ? Theme.of(context) + .scaffoldBackgroundColor + : Theme.of(context) + .scaffoldBackgroundColor + .withOpacity(0.9), ), Container( width: mediaWidth(context, 1), height: 465, - color: - Theme.of(context).scaffoldBackgroundColor, + color: isTablet(context) + ? Theme.of(context) + .scaffoldBackgroundColor + : Theme.of(context) + .scaffoldBackgroundColor + .withOpacity(0.9), ), ], ),