@momo-kits/native-kits 0.89.26 → 0.89.28
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.
|
@@ -158,37 +158,39 @@ fun Header(
|
|
|
158
158
|
verticalAlignment = Alignment.CenterVertically,
|
|
159
159
|
horizontalArrangement = Arrangement.SpaceBetween
|
|
160
160
|
) {
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
161
|
+
Box {
|
|
162
|
+
if (isBack) {
|
|
163
|
+
Box(
|
|
164
|
+
modifier = Modifier
|
|
165
|
+
.size(28.dp)
|
|
166
|
+
.then(
|
|
167
|
+
if (headerType == HeaderType.SURFACE) {
|
|
168
|
+
Modifier.border(
|
|
169
|
+
0.5.dp,
|
|
170
|
+
Colors.black_20.copy(alpha = 0.4f),
|
|
171
|
+
RoundedCornerShape(100)
|
|
172
|
+
)
|
|
173
|
+
} else {
|
|
174
|
+
Modifier
|
|
175
|
+
}
|
|
176
|
+
)
|
|
177
|
+
.background(
|
|
178
|
+
backgroundButton,
|
|
179
|
+
RoundedCornerShape(100)
|
|
180
|
+
)
|
|
181
|
+
.clickable(
|
|
182
|
+
onClick = goBack
|
|
183
|
+
)
|
|
184
|
+
.padding(Spacing.XS)
|
|
185
|
+
.semantics { contentDescription = "btn_navigation_back"; testTag = "btn_navigation_back" },
|
|
186
|
+
contentAlignment = Alignment.Center
|
|
187
|
+
) {
|
|
188
|
+
Icon(
|
|
189
|
+
source = "ic_back_ios",
|
|
190
|
+
color = if (headerType == HeaderType.SURFACE && animatedHeader !== null) tintIconColorAnim else tintIconColor,
|
|
191
|
+
size = 20.dp,
|
|
179
192
|
)
|
|
180
|
-
|
|
181
|
-
onClick = goBack
|
|
182
|
-
)
|
|
183
|
-
.padding(Spacing.XS)
|
|
184
|
-
.semantics { contentDescription = "btn_navigation_back"; testTag = "btn_navigation_back" },
|
|
185
|
-
contentAlignment = Alignment.Center
|
|
186
|
-
) {
|
|
187
|
-
Icon(
|
|
188
|
-
source = "ic_back_ios",
|
|
189
|
-
color = if (headerType == HeaderType.SURFACE && animatedHeader !== null) tintIconColorAnim else tintIconColor,
|
|
190
|
-
size = 20.dp,
|
|
191
|
-
)
|
|
193
|
+
}
|
|
192
194
|
}
|
|
193
195
|
}
|
|
194
196
|
Box(Modifier.graphicsLayer {
|
package/local.properties
CHANGED
|
@@ -4,5 +4,5 @@
|
|
|
4
4
|
# Location of the SDK. This is only used by Gradle.
|
|
5
5
|
# For customization when using a Version Control System, please read the
|
|
6
6
|
# header note.
|
|
7
|
-
#
|
|
8
|
-
sdk.dir=/Users/
|
|
7
|
+
#Wed Aug 21 14:20:12 ICT 2024
|
|
8
|
+
sdk.dir=/Users/huynhdung/Library/Android/sdk
|
package/package.json
CHANGED
package/android/android.iml
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<module type="JAVA_MODULE" version="4">
|
|
3
|
-
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
|
4
|
-
<exclude-output />
|
|
5
|
-
<content url="file://$MODULE_DIR$">
|
|
6
|
-
<sourceFolder url="file://$MODULE_DIR$/build/generated/source/buildConfig/debug" isTestSource="false" />
|
|
7
|
-
</content>
|
|
8
|
-
<orderEntry type="inheritedJdk" />
|
|
9
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
|
10
|
-
</component>
|
|
11
|
-
</module>
|