Fix for default language
This commit is contained in:
parent
d15f056e00
commit
cee6e6e83a
1 changed files with 5 additions and 5 deletions
|
|
@ -268,11 +268,11 @@ public class AlbumDetailActivity extends AbsSlidingMusicPanelActivity implements
|
|||
wikiReady();
|
||||
return;
|
||||
}
|
||||
else if(call.request().url().queryParameter("lang") != null) {
|
||||
//If the "lang" parameter is set and no wiki is given, retry with default language
|
||||
lastFMRestClient.getApiService().getAlbumInfo(getAlbum().getTitle(), getAlbum().getArtistName(), null).enqueue(this);
|
||||
return;
|
||||
}
|
||||
}
|
||||
if(call.request().url().queryParameter("lang") != null) {
|
||||
//If the "lang" parameter is set and no wiki is given, retry with default language
|
||||
lastFMRestClient.getApiService().getAlbumInfo(getAlbum().getTitle(), getAlbum().getArtistName(), null).enqueue(this);
|
||||
return;
|
||||
}
|
||||
wiki = null;
|
||||
wikiReady();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue