mirror of
https://framagit.org/tom79/fedilab-tube
synced 2025-04-15 19:07:21 +02:00
Fix an issue
This commit is contained in:
parent
80c8e1a356
commit
30d344987c
@ -354,7 +354,9 @@ public class AllPlaylistsActivity extends AppCompatActivity {
|
|||||||
@Override
|
@Override
|
||||||
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
|
public void onItemSelected(AdapterView<?> parent, View view, int position, long id) {
|
||||||
idChannel = channelId[position];
|
idChannel = channelId[position];
|
||||||
selectedChannel = myChannels.get(position - 1);
|
if( position > 0 ) {
|
||||||
|
selectedChannel = myChannels.get(position - 1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user