mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-08-05 10:38:35 +02:00
fix(download): swap local track variant actions
This commit is contained in:
@@ -433,6 +433,7 @@ extension _ArtistScreenSections on _ArtistScreenState {
|
||||
context,
|
||||
ref,
|
||||
track,
|
||||
hasLocalPlaybackCandidate: isInHistory || isInLocalLibrary,
|
||||
),
|
||||
child: Padding(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 8),
|
||||
@@ -527,7 +528,10 @@ extension _ArtistScreenSections on _ArtistScreenState {
|
||||
],
|
||||
),
|
||||
),
|
||||
TrackCollectionQuickActions(track: track),
|
||||
TrackCollectionQuickActions(
|
||||
track: track,
|
||||
hasLocalPlaybackCandidate: isInHistory || isInLocalLibrary,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
@@ -264,6 +264,7 @@ class _TrackItemWithStatus extends ConsumerWidget {
|
||||
context,
|
||||
ref,
|
||||
track,
|
||||
hasLocalPlaybackCandidate: isInHistory || isInLocalLibrary,
|
||||
),
|
||||
splashColor: colorScheme.primary.withValues(alpha: 0.12),
|
||||
highlightColor: colorScheme.primary.withValues(alpha: 0.08),
|
||||
@@ -336,7 +337,10 @@ class _TrackItemWithStatus extends ConsumerWidget {
|
||||
),
|
||||
),
|
||||
PreviewButton(track: track),
|
||||
TrackCollectionQuickActions(track: track),
|
||||
TrackCollectionQuickActions(
|
||||
track: track,
|
||||
hasLocalPlaybackCandidate: isInHistory || isInLocalLibrary,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user