Skip to content

Commit

Permalink
Merge branch 'release/v3.2.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikepenz committed Mar 31, 2019
2 parents 97b2f7d + 0b237c3 commit 5adf0b4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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.2"
implementation "com.mikepenz:iconics-core:3.2.3"
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.2"
implementation "com.mikepenz:iconics-views:3.2.3"
```

To use appcompat please use a version smaller than 3.1.0. (See the releases on GitHub)
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
buildscript {
ext {
release = [
versionName: "3.2.2",
versionName: "3.2.3",
versionCode: 32020
]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ public class IconicsBrush<T extends Paint> {
private final T mPaint;
@Nullable
private int[] mState;
private int mAlpha;
private int mAlpha = 255;

public IconicsBrush(@NonNull T paint) {
mPaint = paint;
mPaint.setAlpha(mAlpha);
}

/**
* @param colors which will be applied on {@link #getPaint()} for drawing current state
*/
public void setColors(@Nullable ColorStateList colors) {
mColors = colors;
applyState(mState);
}

/**
Expand Down

0 comments on commit 5adf0b4

Please sign in to comment.