1
0
mirror of https://framagit.org/tom79/fedilab-tube synced 2025-04-15 10:57:57 +02:00

Fix an issue

This commit is contained in:
Thomas 2020-10-03 13:41:33 +02:00
parent 80c8e1a356
commit 30d344987c

View File

@ -354,8 +354,10 @@ public class AllPlaylistsActivity extends AppCompatActivity {
@Override
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
idChannel = channelId[position];
if( position > 0 ) {
selectedChannel = myChannels.get(position - 1);
}
}
@Override
public void onNothingSelected(AdapterView<?> parent) {