diff options
author | Andrew Dolgov <[email protected]> | 2018-09-27 17:09:30 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-09-27 17:09:30 +0300 |
commit | efee3ac0a23380cf5b65583fadee3212cbbd0836 (patch) | |
tree | 8d51234b579c1f4a2cdebc7fb855ad5d6ab70de4 /org.fox.ttrss/src | |
parent | f569ea56b170c73e9f90667643c81bed4d9e0921 (diff) |
headlines: prevent embedding of square and landscape images under header
Diffstat (limited to 'org.fox.ttrss/src')
-rwxr-xr-x | org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java b/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java index 598f2e6f..8ec7cc9b 100755 --- a/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java +++ b/org.fox.ttrss/src/main/java/org/fox/ttrss/HeadlinesFragment.java @@ -1652,7 +1652,7 @@ public class HeadlinesFragment extends StateSavedFragment { //Log.d(TAG, "XYR: " + pxToDp(w) + " " + pxToDp(h) + " " + r); - if (forceDown || h < m_minimumHeightToEmbed || r >= 1.2) { + if (forceDown || h < m_minimumHeightToEmbed || r >= 1) { lp.addRule(RelativeLayout.BELOW, R.id.headline_header); |