Skip to content

Commit ecb86f2

Browse files
committed
Upgrade to wishlist 0.6
1 parent de346de commit ecb86f2

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

app/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@
8585
<dependency>
8686
<groupId>com.github.kevinsawicki</groupId>
8787
<artifactId>wishlist</artifactId>
88-
<version>0.4</version>
88+
<version>0.6</version>
8989
<type>apklib</type>
9090
</dependency>
9191
</dependencies>

app/src/main/java/com/github/mobile/ui/commit/CommitFileListAdapter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*/
1616
package com.github.mobile.ui.commit;
1717

18+
import static com.github.kevinsawicki.wishlist.ViewUpdater.FORMAT_INT;
1819
import android.content.res.Resources;
1920
import android.text.TextUtils;
2021
import android.view.LayoutInflater;

app/src/main/java/com/github/mobile/ui/ref/CodeTreeAdapter.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,10 @@ protected View initialize(final int type, View view) {
156156
@Override
157157
protected void update(final int position, final Object item, final int type) {
158158
if (indented)
159-
view.setPadding(indentedPaddingLeft, paddingTop, paddingRight,
160-
paddingBottom);
159+
updater.view.setPadding(indentedPaddingLeft, paddingTop,
160+
paddingRight, paddingBottom);
161161
else
162-
view.setPadding(paddingLeft, paddingTop, paddingRight,
162+
updater.view.setPadding(paddingLeft, paddingTop, paddingRight,
163163
paddingBottom);
164164

165165
switch (type) {

app/src/main/java/com/github/mobile/ui/user/NewsListAdapter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
*/
1616
package com.github.mobile.ui.user;
1717

18+
import static com.github.kevinsawicki.wishlist.ViewUpdater.FORMAT_INT;
1819
import static com.github.mobile.util.TypefaceUtils.ICON_ADD_MEMBER;
1920
import static com.github.mobile.util.TypefaceUtils.ICON_COMMENT;
2021
import static com.github.mobile.util.TypefaceUtils.ICON_CREATE;

0 commit comments

Comments
 (0)