@momo-kits/native-kits 0.156.5-debug → 0.156.6-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.156.5-debug"
43
+ version = "0.156.6-debug"
44
44
  summary = "IOS Shared module"
45
45
  homepage = "https://momo.vn"
46
46
  ios.deploymentTarget = "15.0"
@@ -424,7 +424,7 @@ fun Input(
424
424
 
425
425
  // Right icon (password toggle or custom icon)
426
426
  when {
427
- secureTextEntry -> {
427
+ secureTextEntry && text.value.isNotEmpty() -> {
428
428
  val iconName = if (inputState.passHidden) "24_security_eye_open" else "24_security_eye_off"
429
429
  val togglePassword = {
430
430
  onRightIconPressed()
@@ -7,11 +7,13 @@ import androidx.compose.foundation.layout.Arrangement
7
7
  import androidx.compose.foundation.layout.Box
8
8
  import androidx.compose.foundation.layout.Row
9
9
  import androidx.compose.foundation.layout.RowScope
10
+ import androidx.compose.foundation.layout.Spacer
10
11
  import androidx.compose.foundation.layout.fillMaxWidth
11
12
  import androidx.compose.foundation.layout.height
12
13
  import androidx.compose.foundation.layout.offset
13
14
  import androidx.compose.foundation.layout.padding
14
15
  import androidx.compose.foundation.layout.size
16
+ import androidx.compose.foundation.layout.width
15
17
  import androidx.compose.foundation.shape.RoundedCornerShape
16
18
  import androidx.compose.runtime.Composable
17
19
  import androidx.compose.runtime.getValue
@@ -98,6 +100,7 @@ fun Header(onBackHandler: (() -> Unit)? = null) {
98
100
  onBackHandler?.invoke() ?: navigator.onBackSafe { }
99
101
  }
100
102
  )
103
+ Spacer(Modifier.width(Spacing.M))
101
104
  }
102
105
 
103
106
  HeaderContent(
@@ -137,7 +140,7 @@ fun BackButton(borderColor: Color, backgroundButton: Color, tintIconColor: Color
137
140
  @Composable
138
141
  fun RowScope.HeaderContent(headerTitle: HeaderTitle, tintIconColor: Color){
139
142
  Box(
140
- Modifier.weight(1f).padding(horizontal = Spacing.M)
143
+ Modifier.weight(1f)
141
144
  ) {
142
145
  when (headerTitle){
143
146
  is HeaderTitle.Default -> {
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.156.5
21
+ version=0.156.6
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.156.5-debug",
3
+ "version": "0.156.6-debug",
4
4
  "private": false,
5
5
  "dependencies": {},
6
6
  "devDependencies": {},