File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -195,11 +195,11 @@ class _LibraryPageState extends State<LibraryPage> {
195195
196196 final hasFolders = folders.isNotEmpty;
197197 final hasCustomPlaylists = playlistsNotInFolders.isNotEmpty;
198- final hasAnythingAfterOffline = hasFolders || hasCustomPlaylists;
198+ final hasLibraryContent = ! isOffline || hasFolders || hasCustomPlaylists;
199199
200200 final slivers = < Widget > [];
201201
202- if (hasAnythingAfterOffline ) {
202+ if (hasLibraryContent ) {
203203 slivers.add (
204204 SliverToBoxAdapter (
205205 child: Column (
@@ -254,10 +254,10 @@ class _LibraryPageState extends State<LibraryPage> {
254254 NavigationManager .router.go ('/library/userSongs/offline' ),
255255 cubeIcon: FluentIcons .cloud_off_24_regular,
256256 borderRadius: ! isOffline
257- ? (hasAnythingAfterOffline
257+ ? (hasCustomPlaylists || hasFolders
258258 ? BorderRadius .zero
259259 : commonCustomBarRadiusLast)
260- : (hasAnythingAfterOffline
260+ : (hasCustomPlaylists || hasFolders
261261 ? commonCustomBarRadiusFirst
262262 : commonCustomBarRadius),
263263 showBuildActions: false ,
You can’t perform that action at this time.
0 commit comments