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