Skip to content

Commit 6146c9d

Browse files
committed
Fixed a wrong verson check in the FastScroll
1 parent c5cb054 commit 6146c9d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ repositories {
2929
3030
dependencies {
3131
//...
32-
compile 'com.devbrackets.android:recyclerext:0.17.0'
32+
compile 'com.devbrackets.android:recyclerext:0.17.1'
3333
}
3434
```
3535

library/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'bintray-release'
44

55
def versionMajor = 0
66
def versionMinor = 17
7-
def versionPatch = 0
7+
def versionPatch = 1
88

99
// Maven GAV
1010
def libraryGroupId = 'com.devbrackets.android'

library/src/main/java/com/devbrackets/android/recyclerext/widget/FastScroll.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ protected Drawable getDrawable(@DrawableRes int res) {
345345

346346
@ColorInt
347347
protected int getColor(@ColorRes int res) {
348-
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
348+
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
349349
return getResources().getColor(res, getContext().getTheme());
350350
}
351351

0 commit comments

Comments
 (0)