mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
MediaInterface.kt: adjust thumbnail height parameter
Before this commit, the thumbnail height parameter was too small, causing low resolution thumbnails to render. This commit more than doubles the parameter, increasing the thumbnail resolution.
This commit is contained in:
parent
e038c28b72
commit
b378dc8f54
1 changed files with 1 additions and 1 deletions
|
|
@ -190,7 +190,7 @@ interface MediaInterface {
|
|||
* Retrieved thumbnail height will be about this tall, but must be at least this height.
|
||||
* A larger number means higher thumbnail resolution but more network usage.
|
||||
*/
|
||||
const val THUMB_HEIGHT_PX = 220
|
||||
const val THUMB_HEIGHT_PX = 450
|
||||
|
||||
const val MEDIA_PARAMS =
|
||||
"&prop=imageinfo|coordinates&iiprop=url|extmetadata|user&&iiurlheight=" +
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue