Niedzielski has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/312060

Change subject: Hygiene: remove redundant code from FeedView
......................................................................

Hygiene: remove redundant code from FeedView

Remove programmatic configuration of minColumnWidth. This attribute is
set in XML.

Change-Id: I8d13a7cc27a4b1a103e5eff1796a357e13a7d900
---
M app/src/main/java/org/wikipedia/feed/view/FeedView.java
1 file changed, 1 insertion(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/apps/android/wikipedia 
refs/changes/60/312060/1

diff --git a/app/src/main/java/org/wikipedia/feed/view/FeedView.java 
b/app/src/main/java/org/wikipedia/feed/view/FeedView.java
index b750ed2..cb504e2 100644
--- a/app/src/main/java/org/wikipedia/feed/view/FeedView.java
+++ b/app/src/main/java/org/wikipedia/feed/view/FeedView.java
@@ -56,7 +56,6 @@
 
     private void init() {
         setVerticalScrollBarEnabled(true);
-        minColumnWidth((int) 
getResources().getDimension(R.dimen.view_feed_min_column_width));
         recyclerLayoutManager = new StaggeredGridLayoutManager(getColumns(),
                 StaggeredGridLayoutManager.VERTICAL);
         setLayoutManager(recyclerLayoutManager);
@@ -105,4 +104,4 @@
             recyclerLayoutManager.setSpanCount(columns);
         }
     }
-}
+}
\ No newline at end of file

-- 
To view, visit https://gerrit.wikimedia.org/r/312060
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8d13a7cc27a4b1a103e5eff1796a357e13a7d900
Gerrit-PatchSet: 1
Gerrit-Project: apps/android/wikipedia
Gerrit-Branch: master
Gerrit-Owner: Niedzielski <sniedziel...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to