mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Replace runtime exception
This commit is contained in:
parent
84d93392b0
commit
58ffe710c0
1 changed files with 2 additions and 2 deletions
|
|
@ -264,7 +264,7 @@ public class MediaDetailFragment extends Fragment {
|
|||
}
|
||||
|
||||
// Set text of desc, license, and categories
|
||||
// FIXME: This branch displays the wrong desc and categories
|
||||
// FIXME: This reveals the desc, license, and categories fields, but displays the wrong desc and categories
|
||||
desc.setText(prettyDescription(media));
|
||||
license.setText(prettyLicense(media));
|
||||
|
||||
|
|
@ -281,7 +281,7 @@ public class MediaDetailFragment extends Fragment {
|
|||
}
|
||||
|
||||
public void onLoadingCancelled(String s, View view) {
|
||||
throw new RuntimeException("Image loading cancelled. But why?");
|
||||
Log.e("Volley", "Image loading cancelled. But why?");
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue