From c3d3a3900d526c55da0fb0511aeee940a9d131de Mon Sep 17 00:00:00 2001 From: "Dr.Blank" <64108942+Dr-Blank@users.noreply.github.com> Date: Sat, 19 Apr 2025 19:47:25 +0530 Subject: [PATCH] refactor: remove transparent background color from app bars --- lib/features/downloads/view/downloads_page.dart | 1 - lib/features/explore/view/explore_page.dart | 1 - lib/features/item_viewer/view/library_item_sliver_app_bar.dart | 1 - lib/features/you/view/you_page.dart | 1 - lib/pages/home_page.dart | 1 - 5 files changed, 5 deletions(-) diff --git a/lib/features/downloads/view/downloads_page.dart b/lib/features/downloads/view/downloads_page.dart index e8c0e9c..7c5dbfb 100644 --- a/lib/features/downloads/view/downloads_page.dart +++ b/lib/features/downloads/view/downloads_page.dart @@ -13,7 +13,6 @@ class DownloadsPage extends HookConsumerWidget { return Scaffold( appBar: AppBar( title: const Text('Downloads'), - backgroundColor: Colors.transparent, ), body: Center( // history of downloads diff --git a/lib/features/explore/view/explore_page.dart b/lib/features/explore/view/explore_page.dart index 23bb0f6..1682254 100644 --- a/lib/features/explore/view/explore_page.dart +++ b/lib/features/explore/view/explore_page.dart @@ -30,7 +30,6 @@ class ExplorePage extends HookConsumerWidget { return Scaffold( appBar: AppBar( title: const Text('Explore'), - backgroundColor: Colors.transparent, ), body: const MySearchBar(), ); diff --git a/lib/features/item_viewer/view/library_item_sliver_app_bar.dart b/lib/features/item_viewer/view/library_item_sliver_app_bar.dart index 99068e2..ef133ee 100644 --- a/lib/features/item_viewer/view/library_item_sliver_app_bar.dart +++ b/lib/features/item_viewer/view/library_item_sliver_app_bar.dart @@ -8,7 +8,6 @@ class LibraryItemSliverAppBar extends StatelessWidget { @override Widget build(BuildContext context) { return SliverAppBar( - backgroundColor: Colors.transparent, elevation: 0, floating: true, primary: true, diff --git a/lib/features/you/view/you_page.dart b/lib/features/you/view/you_page.dart index cfe15cd..53b33b8 100644 --- a/lib/features/you/view/you_page.dart +++ b/lib/features/you/view/you_page.dart @@ -23,7 +23,6 @@ class YouPage extends HookConsumerWidget { return Scaffold( appBar: AppBar( // title: const Text('You'), - backgroundColor: Colors.transparent, actions: [ IconButton( tooltip: 'Logs', diff --git a/lib/pages/home_page.dart b/lib/pages/home_page.dart index 682a8a4..f9b0310 100644 --- a/lib/pages/home_page.dart +++ b/lib/pages/home_page.dart @@ -19,7 +19,6 @@ class HomePage extends HookConsumerWidget { final scrollController = useScrollController(); return Scaffold( appBar: AppBar( - backgroundColor: Colors.transparent, title: GestureDetector( child: Text( 'Vaani',