Skip to content

Commit

Permalink
Fix NullPointerException when setting color in tablets
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Serrano committed Jul 12, 2023
1 parent 96f176a commit 78ac30c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.25.1 (2023-07-12)

- Fix NullPointerException when setting color in tablets (https://github.com/Wootric/WootricSDK-flutter/issues/8)

## 2.25.0 (2023-06-01)

- Add support for AU tokens
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ If you use Maven, you can include this library as a dependency:
<dependency>
<groupId>com.wootric</groupId>
<artifactId>wootric-sdk-android</artifactId>
<version>2.25.0</version>
<version>2.25.1</version>
</dependency>
```

### Using Gradle

```xml
implementation 'com.wootric:wootric-sdk-android:2.25.0'
implementation 'com.wootric:wootric-sdk-android:2.25.1'
```

## Initializing Wootric
Expand Down
4 changes: 2 additions & 2 deletions androidsdk/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
VERSION_NAME=2.25.0
VERSION_CODE=2250
VERSION_NAME=2.25.1
VERSION_CODE=2251
GROUP=com.wootric

POM_DESCRIPTION=WootricSDK Android
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ private void initResources() {

new DriverPicklist.Configure()
.driverPicklist(mDriverPicklist)
.selectedColor(mContext.getResources().getColor(mSettings.getScoreColor()))
.selectedColor(Color.parseColor("#024ea9"))
.selectedFontColor(Color.parseColor("#ffffff"))
.deselectedColor(Color.parseColor("#ffffff"))
.deselectedFontColor(Color.parseColor("#253746"))
Expand Down

0 comments on commit 78ac30c

Please sign in to comment.