upgrade SwipeRefreshLayout to 1.1.0 (#1866)
This commit is contained in:
parent
e42b5114cd
commit
467c33aacb
11 changed files with 3 additions and 17 deletions
|
|
@ -421,11 +421,8 @@ public class TimelineFragment extends SFragment implements
|
|||
private void setupSwipeRefreshLayout() {
|
||||
swipeRefreshLayout.setEnabled(isSwipeToRefreshEnabled);
|
||||
if (isSwipeToRefreshEnabled) {
|
||||
Context context = swipeRefreshLayout.getContext();
|
||||
swipeRefreshLayout.setOnRefreshListener(this);
|
||||
swipeRefreshLayout.setColorSchemeResources(R.color.tusky_blue);
|
||||
swipeRefreshLayout.setProgressBackgroundColorSchemeColor(ThemeUtils.getColor(context,
|
||||
android.R.attr.colorBackground));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue