Disable pull to refresh for GB devices.
Doesn't work well on GB. Google wrote it so that's no surprise. // FREEBIE
This commit is contained in:
parent
15345f874f
commit
f2a323ef7f
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,7 @@ package org.thoughtcrime.securesms;
|
|||
|
||||
|
||||
import android.database.Cursor;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.support.v4.app.Fragment;
|
||||
import android.support.v4.app.LoaderManager;
|
||||
|
@ -90,6 +91,8 @@ public class ContactSelectionListFragment extends Fragment
|
|||
listView.setDrawingListUnderStickyHeader(false);
|
||||
listView.setOnItemClickListener(new ListClickListener());
|
||||
|
||||
swipeRefresh.setEnabled(Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT);
|
||||
|
||||
return view;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue