mirror of
https://github.com/gabehf/tempus.git
synced 2026-03-17 11:16:28 -07:00
feat: parameterized track sharing feature
This commit is contained in:
parent
8ab011781e
commit
0fe4636fe1
10 changed files with 55 additions and 17 deletions
|
|
@ -22,6 +22,7 @@ import com.cappielloantonio.tempo.interfaces.PlaylistCallback;
|
|||
import com.cappielloantonio.tempo.ui.adapter.PlaylistDialogSongHorizontalAdapter;
|
||||
import com.cappielloantonio.tempo.util.Constants;
|
||||
import com.cappielloantonio.tempo.util.MusicUtil;
|
||||
import com.cappielloantonio.tempo.util.Preferences;
|
||||
import com.cappielloantonio.tempo.viewmodel.PlaylistEditorViewModel;
|
||||
|
||||
import java.util.Collections;
|
||||
|
|
@ -111,6 +112,8 @@ public class PlaylistEditorDialog extends DialogFragment {
|
|||
clipboardManager.setPrimaryClip(clipData);
|
||||
});
|
||||
});
|
||||
|
||||
bind.playlistShareButton.setVisibility(Preferences.isSharingEnabled() ? View.VISIBLE : View.GONE);
|
||||
}
|
||||
|
||||
private void initSongsView() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue