Add comment
This commit is contained in:
parent
d75ed1d7d2
commit
f6f219a9c1
1 changed files with 2 additions and 2 deletions
|
|
@ -357,14 +357,14 @@ public class ArtistDetailActivity extends AbsSlidingMusicPanelActivity implement
|
||||||
.positiveText(android.R.string.ok)
|
.positiveText(android.R.string.ok)
|
||||||
.build();
|
.build();
|
||||||
}
|
}
|
||||||
if (Util.isAllowedToDownloadMetadata(ArtistDetailActivity.this)) {
|
if (Util.isAllowedToDownloadMetadata(ArtistDetailActivity.this)) { // wiki should've been already downloaded
|
||||||
if (biography != null) {
|
if (biography != null) {
|
||||||
biographyDialog.setContent(biography);
|
biographyDialog.setContent(biography);
|
||||||
biographyDialog.show();
|
biographyDialog.show();
|
||||||
} else {
|
} else {
|
||||||
Toast.makeText(ArtistDetailActivity.this, getResources().getString(R.string.biography_unavailable), Toast.LENGTH_SHORT).show();
|
Toast.makeText(ArtistDetailActivity.this, getResources().getString(R.string.biography_unavailable), Toast.LENGTH_SHORT).show();
|
||||||
}
|
}
|
||||||
} else {
|
} else { // force download
|
||||||
biographyDialog.show();
|
biographyDialog.show();
|
||||||
loadBiography();
|
loadBiography();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue