Skip to content

Commit

Permalink
edit loader
Browse files Browse the repository at this point in the history
  • Loading branch information
asgharzadeh committed Jan 13, 2020
1 parent 8e60511 commit 6fd5715
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Falert
[![](https://jitpack.io/v/Far5had70/Falert.svg)](https://jitpack.io/#Far5had70/Falert)

<img src="https://raw.githubusercontent.com/Far5had70/Falert/master/screen_record.gif" height="480" width="270">

Expand Down Expand Up @@ -35,7 +36,7 @@ Add it in your root build.gradle at the end of repositories:

```gradle
dependencies {
implementation 'com.github.Far5had70:Falert:3.2.0'
implementation 'com.github.Far5had70:Falert:3.6.0'
}
```

Expand Down
2 changes: 1 addition & 1 deletion falert/src/main/java/com/waspar/falert/Falert.java
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ public void startAnimationImageClick(boolean enable) {
imageView.startAnimation(AnimationUtils.loadAnimation(getContext(), R.anim.rotate_indefinitely));
if (loaderView != null){
GradientDrawable bgShape2 = new GradientDrawable();
setCornerRadius(bgShape2 , alertRadius , alertRadius , 0 , 0);
setCornerRadius(bgShape2 , alertRadius , alertRadius , alertRadius , alertRadius);
if (loaderBackgroundColor == -1){
bgShape2.setColor(context.getResources().getColor(R.color.falert_green));
}else {
Expand Down

0 comments on commit 6fd5715

Please sign in to comment.