Skip to content

Commit

Permalink
Fix double bang
Browse files Browse the repository at this point in the history
  • Loading branch information
kon3gor committed Apr 12, 2023
1 parent 3408ec0 commit 65f9966
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/java/com/kunzisoft/keepass/view/TagsListView.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import android.animation.Animator
import android.animation.AnimatorSet
import android.animation.ValueAnimator
import android.content.Context
import android.graphics.Color
import android.graphics.drawable.Drawable
import android.graphics.drawable.GradientDrawable
import android.os.Build
Expand Down Expand Up @@ -35,7 +36,7 @@ class TagsListView @JvmOverloads constructor(
return
}
field = value
expandBtn?.setColorFilter(value!!)
expandBtn?.setColorFilter(value ?: Color.TRANSPARENT)
}
var bgColor: Int? = null
set(value) {
Expand Down

0 comments on commit 65f9966

Please sign in to comment.