fix: go to track album shows up for local tracks

This commit is contained in:
Kingkor Roy Tirtho 2024-07-22 09:54:59 +06:00
parent bd511584e7
commit b211813213

View File

@ -335,7 +335,7 @@ class TrackOptions extends HookConsumerWidget {
leading: const Icon(SpotubeIcons.trash), leading: const Icon(SpotubeIcons.trash),
title: Text(context.l10n.delete), title: Text(context.l10n.delete),
), ),
if (mediaQuery.smAndDown) if (mediaQuery.smAndDown && !isLocalTrack)
PopSheetEntry( PopSheetEntry(
value: TrackOptionValue.album, value: TrackOptionValue.album,
leading: const Icon(SpotubeIcons.album), leading: const Icon(SpotubeIcons.album),