diff --git a/lib/ui/detail_page.dart b/lib/ui/detail_page.dart index a8b6bdfba..48d9753f8 100644 --- a/lib/ui/detail_page.dart +++ b/lib/ui/detail_page.dart @@ -45,6 +45,7 @@ class _DetailPageState extends State { " files ."); return Scaffold( appBar: _buildAppBar(), + extendBodyBehindAppBar: true, body: Center( child: Container( child: _buildPageView(), @@ -160,6 +161,8 @@ class _DetailPageState extends State { )); return AppBar( actions: actions, + backgroundColor: Color(0x00000000), + elevation: 0, ); } @@ -170,6 +173,13 @@ class _DetailPageState extends State { onTap: (oldValue) { return FavoriteFilesRepository.instance.setLiked(file, !oldValue); }, + likeBuilder: (isLiked) { + return Icon( + Icons.favorite_border, + color: isLiked ? Colors.pinkAccent : Colors.white, + size: 30, + ); + }, ); }