Skip to content

Commit 82f220e

Browse files
committed
Version 5.0.1
- Fixed validation issue with DateAndTimeIndicators.
1 parent 6c5a45d commit 82f220e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ext {
1313
siteUrl = 'https://github.com/krimin-killr21/MaterialScrollBar'
1414
gitUrl = 'https://github.com/krimin-killr21/MaterialScrollBar.git'
1515

16-
libraryVersion = '5.0.0'
16+
libraryVersion = '5.0.1'
1717

1818
developerId = 'krimin-killr21'
1919
developerName = 'Turing Technologies'
@@ -31,8 +31,8 @@ android {
3131
defaultConfig {
3232
minSdkVersion 7
3333
targetSdkVersion 23
34-
versionCode 9
35-
versionName "5.0.0"
34+
versionCode 10
35+
versionName "5.0.1"
3636
}
3737
}
3838

lib/src/main/java/com/turingtechnologies/materialscrollbar/DateAndTimeIndicator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ int getIndicatorWidth() {
9393

9494
@Override
9595
void testAdapter(RecyclerView.Adapter adapter) {
96-
if(!(adapter instanceof INameableAdapter)){
96+
if(!(adapter instanceof IDateableAdapter)){
9797
throw new adapterNotSetupForIndicatorException("IDateableAdapter");
9898
}
9999
}

0 commit comments

Comments
 (0)