@momo-kits/native-kits 0.162.2-beta.18-debug → 0.162.2-beta.19-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
|
@@ -139,6 +139,7 @@ internal fun RenderTitle(size: Size, title: String = "", textColor: Color) {
|
|
|
139
139
|
fun RenderIcon(
|
|
140
140
|
size: Size,
|
|
141
141
|
isIconLeft: Boolean,
|
|
142
|
+
alpha: Float,
|
|
142
143
|
useTintColor: Boolean = true,
|
|
143
144
|
icon: String = "",
|
|
144
145
|
forceLoading: Boolean = false,
|
|
@@ -157,7 +158,7 @@ fun RenderIcon(
|
|
|
157
158
|
if (forceLoading) {
|
|
158
159
|
Box(modifier) {
|
|
159
160
|
LottieAnimation(
|
|
160
|
-
modifier = Modifier.size(iconSize),
|
|
161
|
+
modifier = Modifier.size(iconSize).alpha(alpha),
|
|
161
162
|
bgColor = bgColor,
|
|
162
163
|
tintColor = color,
|
|
163
164
|
path = "files/lottie_circle_loader",
|
|
@@ -338,6 +339,7 @@ fun Button(
|
|
|
338
339
|
RenderIcon(
|
|
339
340
|
size = size,
|
|
340
341
|
isIconLeft = true,
|
|
342
|
+
alpha = alpha,
|
|
341
343
|
useTintColor = useTintColor,
|
|
342
344
|
icon = iconLeft,
|
|
343
345
|
forceLoading = loading && loadingOnLeft,
|
|
@@ -348,6 +350,7 @@ fun Button(
|
|
|
348
350
|
RenderIcon(
|
|
349
351
|
size = size,
|
|
350
352
|
isIconLeft = false,
|
|
353
|
+
alpha = alpha,
|
|
351
354
|
useTintColor = useTintColor,
|
|
352
355
|
icon = iconRight,
|
|
353
356
|
forceLoading = loading && !loadingOnLeft,
|
package/gradle.properties
CHANGED