Skip to content

Commit aed60c1

Browse files
Reopen issue #44 issue fixed
1 parent 4847da0 commit aed60c1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Reverse Curve
4949
5050
```
5151
dependencies {
52-
implementation 'com.github.simformsolutions:SSCustomBottomNavigation:3.5'
52+
implementation 'com.github.simformsolutions:SSCustomBottomNavigation:3.6'
5353
}
5454
```
5555

custombottomnavigation/src/main/java/com/simform/custombottomnavigation/SSCustomBottomNavigation.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,11 +219,11 @@ class SSCustomBottomNavigation : FrameLayout {
219219
isReverseCurve = getBoolean(R.styleable.SSCustomBottomNavigation_ss_reverseCurve, isReverseCurve)
220220
val iconTextTypeFace =
221221
getString(R.styleable.SSCustomBottomNavigation_ss_iconTextTypeface)
222-
if (TextUtils.isEmpty(iconTextTypeFace))
222+
if (!iconTextTypeFace.isNullOrEmpty())
223223
iconTextTypeface = Typeface.createFromAsset(context.assets, iconTextTypeFace)
224224

225225
val typeface = getString(R.styleable.SSCustomBottomNavigation_ss_countTypeface)
226-
if (TextUtils.isEmpty(typeface))
226+
if (!typeface.isNullOrEmpty())
227227
countTypeface = Typeface.createFromAsset(context.assets, typeface)
228228

229229
val drawable =

0 commit comments

Comments
 (0)