We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28a2e48 commit fa002aaCopy full SHA for fa002aa
library/src/main/java/com/etsy/android/grid/StaggeredGridView.java
@@ -243,7 +243,7 @@ public void setColumnCount(int columnCount) {
243
// MEASUREMENT
244
//
245
private boolean isLandscape() {
246
- return getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE ? true : false;
+ return getResources().getConfiguration().orientation == Configuration.ORIENTATION_LANDSCAPE;
247
}
248
249
@Override
0 commit comments