fix: toast for made for you click indication (#365)

This commit is contained in:
eddyizm 2026-01-17 18:21:14 -08:00 committed by GitHub
parent fa2e029f9f
commit c0c84269ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1262,7 +1262,7 @@ public class HomeTabMusicFragment extends Fragment implements ClickCallback {
if (mediaBrowserListenableFuture != null) { if (mediaBrowserListenableFuture != null) {
final boolean[] playbackStarted = {false}; final boolean[] playbackStarted = {false};
Toast.makeText(requireContext(), R.string.bottom_sheet_generating_instant_mix, Toast.LENGTH_SHORT).show();
homeViewModel.getMediaInstantMix(getViewLifecycleOwner(), track) homeViewModel.getMediaInstantMix(getViewLifecycleOwner(), track)
.observe(getViewLifecycleOwner(), songs -> { .observe(getViewLifecycleOwner(), songs -> {
if (playbackStarted[0] || songs == null || songs.isEmpty()) return; if (playbackStarted[0] || songs == null || songs.isEmpty()) return;