File tree Expand file tree Collapse file tree
custombottomnavigation/src/main/java/com/simform/custombottomnavigation Expand file tree Collapse file tree Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 =
You can’t perform that action at this time.
0 commit comments