@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.
package/compose/build.gradle.kts
CHANGED
package/compose/compose.podspec
CHANGED
|
@@ -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 =
|
|
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