Skip to content

Commit

Permalink
Merge branch 'release/v3.2.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Apr 13, 2019
2 parents 960e708 + b71b5e8 commit b21939d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,14 +63,14 @@ A awesome gradle plugin which can automatically fetch a font from Fontastic, and
## 1. Provide the gradle dependency
```gradle
//the core iconcis library (without any widgets)
implementation "com.mikepenz:iconics-core:3.2.4"
implementation "com.mikepenz:iconics-core:3.2.5"
implementation "androidx.appcompat:appcompat:${androidXVersion}"
```

## 1b. (optional) Add the view's dependency
```gradle
//this adds all ui view widgets (IconicsButton, IconicsImageView, ...)
implementation "com.mikepenz:iconics-views:3.2.4"
implementation "com.mikepenz:iconics-views:3.2.5"
```

To use appcompat please use a version smaller than 3.1.0. (See the releases on GitHub)
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
buildscript {
ext {
release = [
versionName: "3.2.4",
versionCode: 32040
versionName: "3.2.5",
versionCode: 32050
]

setup = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1360,10 +1360,10 @@ public int getOpacity() {

@Override
protected boolean onStateChange(@NonNull int[] stateSet) {
boolean isNeedsRedraw = mIconBrush.applyState(stateSet)
|| mContourBrush.applyState(stateSet)
|| mBackgroundBrush.applyState(stateSet)
|| mBackgroundContourBrush.applyState(stateSet);
boolean isNeedsRedraw = mIconBrush.applyState(stateSet);
isNeedsRedraw |= mContourBrush.applyState(stateSet);
isNeedsRedraw |= mBackgroundBrush.applyState(stateSet);
isNeedsRedraw |= mBackgroundContourBrush.applyState(stateSet);

if (mTint != null) {
updateTintFilter();
Expand Down

0 comments on commit b21939d

Please sign in to comment.