Skip to content

Commit

Permalink
Reopen issue #44 issue fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
AshvinVavaliya authored and yashwantgowla-simform committed Jun 1, 2023
1 parent 4847da0 commit aed60c1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Reverse Curve

```
dependencies {
implementation 'com.github.simformsolutions:SSCustomBottomNavigation:3.5'
implementation 'com.github.simformsolutions:SSCustomBottomNavigation:3.6'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,11 @@ class SSCustomBottomNavigation : FrameLayout {
isReverseCurve = getBoolean(R.styleable.SSCustomBottomNavigation_ss_reverseCurve, isReverseCurve)
val iconTextTypeFace =
getString(R.styleable.SSCustomBottomNavigation_ss_iconTextTypeface)
if (TextUtils.isEmpty(iconTextTypeFace))
if (!iconTextTypeFace.isNullOrEmpty())
iconTextTypeface = Typeface.createFromAsset(context.assets, iconTextTypeFace)

val typeface = getString(R.styleable.SSCustomBottomNavigation_ss_countTypeface)
if (TextUtils.isEmpty(typeface))
if (!typeface.isNullOrEmpty())
countTypeface = Typeface.createFromAsset(context.assets, typeface)

val drawable =
Expand Down

0 comments on commit aed60c1

Please sign in to comment.