@momo-kits/native-kits 0.162.15-debug → 0.162.16-debug

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,7 +40,7 @@ kotlin {
40
40
  }
41
41
 
42
42
  cocoapods {
43
- version = "0.162.15-debug"
43
+ version = "0.162.16-debug"
44
44
  summary = "IOS Shared module"
45
45
  homepage = "https://momo.vn"
46
46
  ios.deploymentTarget = "15.0"
@@ -1,6 +1,6 @@
1
1
  Pod::Spec.new do |spec|
2
2
  spec.name = 'compose'
3
- spec.version = '0.162.1-beta.4'
3
+ spec.version = '0.162.2-beta.19'
4
4
  spec.homepage = 'https://momo.vn'
5
5
  spec.source = { :http=> ''}
6
6
  spec.authors = ''
@@ -142,7 +142,6 @@ fun RenderIcon(
142
142
  useTintColor: Boolean = true,
143
143
  icon: String = "",
144
144
  forceLoading: Boolean = false,
145
- bgColor: Color? = null,
146
145
  textColor: Color? = null,
147
146
  ) {
148
147
  val iconSize = remember(size) { getIconSize(size) }
@@ -158,9 +157,10 @@ fun RenderIcon(
158
157
  Box(modifier) {
159
158
  LottieAnimation(
160
159
  modifier = Modifier.size(iconSize),
161
- bgColor = bgColor,
160
+ bgColor = null,
162
161
  tintColor = color,
163
- path = "files/lottie_circle_loader"
162
+ path = "files/lottie_circle_loader",
163
+ useCompose = true
164
164
  )
165
165
  }
166
166
  } else if (icon.isNotEmpty()) {
@@ -340,7 +340,6 @@ fun Button(
340
340
  useTintColor = useTintColor,
341
341
  icon = iconLeft,
342
342
  forceLoading = loading && loadingOnLeft,
343
- bgColor = bgColor,
344
343
  textColor = textColor
345
344
  )
346
345
  RenderTitle(size, title, textColor = textColor)
@@ -350,7 +349,6 @@ fun Button(
350
349
  useTintColor = useTintColor,
351
350
  icon = iconRight,
352
351
  forceLoading = loading && !loadingOnLeft,
353
- bgColor = bgColor,
354
352
  textColor = textColor
355
353
  )
356
354
  }
package/gradle.properties CHANGED
@@ -18,7 +18,7 @@ kotlin.apple.xcodeCompatibility.nowarn=true
18
18
  name="ComposeKits"
19
19
  group=vn.momo.kits
20
20
  artifact.id=kits
21
- version=0.162.15
21
+ version=0.162.16
22
22
 
23
23
  repo=GitLab
24
24
  url=https://gitlab.mservice.com.vn/api/v4/projects/5400/packages/maven
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.162.15-debug",
3
+ "version": "0.162.16-debug",
4
4
  "private": false,
5
5
  "dependencies": {},
6
6
  "devDependencies": {},