From bea8a4fdf85ebae6ebf66bf2a4846f398bf4501d Mon Sep 17 00:00:00 2001 From: Chaphasilor Date: Thu, 16 Jan 2025 01:15:08 +0100 Subject: [PATCH 1/3] Fix settings drawer padding. --- lib/components/MusicScreen/music_screen_drawer.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/components/MusicScreen/music_screen_drawer.dart b/lib/components/MusicScreen/music_screen_drawer.dart index 8b1d46cc..766db32b 100644 --- a/lib/components/MusicScreen/music_screen_drawer.dart +++ b/lib/components/MusicScreen/music_screen_drawer.dart @@ -10,7 +10,6 @@ import '../../screens/downloads_screen.dart'; import '../../screens/logs_screen.dart'; import '../../screens/settings_screen.dart'; import '../../services/finamp_user_helper.dart'; -import '../padded_custom_scrollview.dart'; import 'offline_mode_switch_list_tile.dart'; import 'view_list_tile.dart'; @@ -27,8 +26,7 @@ class MusicScreenDrawer extends StatelessWidget { contentPadding: const EdgeInsetsDirectional.only(start: 16.0, end: 8.0), // Manually handle padding in leading/trailing icons horizontalTitleGap: 0, - child: PaddedCustomScrollview( - bottomPadding: 0.0, + child: CustomScrollView( slivers: [ SliverList( delegate: SliverChildListDelegate.fixed( From 42790191edfbbfa245881d5eeab844191175b1b1 Mon Sep 17 00:00:00 2001 From: Chaphasilor Date: Thu, 16 Jan 2025 01:15:08 +0100 Subject: [PATCH 2/3] Fix child sizing in blurred background images. --- lib/screens/blurred_player_screen_background.dart | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/screens/blurred_player_screen_background.dart b/lib/screens/blurred_player_screen_background.dart index bbcbabc7..b483dc57 100644 --- a/lib/screens/blurred_player_screen_background.dart +++ b/lib/screens/blurred_player_screen_background.dart @@ -118,6 +118,14 @@ class RenderCachePaint extends RenderProxyBox { static final Map, ui.Image?)> _cache = {}; + @override + void performLayout() { + child?.layout(BoxConstraints.tightFor( + width: _screenSize.width, height: _screenSize.height)); + size = constraints.biggest; + return; + } + @override bool get isRepaintBoundary => true; From 3d257323ee317bae3d1f636bbc83652e44780c85 Mon Sep 17 00:00:00 2001 From: Chaphasilor Date: Thu, 16 Jan 2025 01:15:08 +0100 Subject: [PATCH 3/3] fix debug build issues with dexing --- android/app/build.gradle | 1 + 1 file changed, 1 insertion(+) diff --git a/android/app/build.gradle b/android/app/build.gradle index 960c5e4b..5f55776e 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -62,6 +62,7 @@ android { } debug { applicationIdSuffix '.debug' + minifyEnabled true // avoid dexing issues } } }