@momo-kits/native-kits 0.117.1-beta.14 → 0.117.1-beta.15

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.
@@ -125,7 +125,7 @@ fun PopupNotify(
125
125
  content(Modifier.padding(top = Spacing.S))
126
126
  if (error.isNotEmpty()) {
127
127
  Text(
128
- text = error,
128
+ text = "Mã lỗi: " + error,
129
129
  style = Typography.descriptionXsRegular,
130
130
  color = AppTheme.current.colors.text.hint,
131
131
  maxLines = 1,
@@ -4,7 +4,6 @@ import androidx.compose.foundation.background
4
4
  import androidx.compose.foundation.border
5
5
  import androidx.compose.foundation.clickable
6
6
  import androidx.compose.foundation.layout.Box
7
- import androidx.compose.foundation.layout.Row
8
7
  import androidx.compose.foundation.layout.height
9
8
  import androidx.compose.foundation.layout.padding
10
9
  import androidx.compose.foundation.layout.size
@@ -18,7 +17,6 @@ import androidx.compose.ui.graphics.Color
18
17
  import androidx.compose.ui.unit.dp
19
18
  import vn.momo.kits.const.Colors
20
19
  import vn.momo.kits.const.Spacing
21
- import vn.momo.kits.const.Typography
22
20
  import vn.momo.kits.modifier.setAutomationId
23
21
  import vn.momo.kits.utils.ifTrue
24
22
 
@@ -88,8 +88,7 @@ public struct PopupDisplay: View {
88
88
  ScrollView(showsIndicators: false) {
89
89
  Text(description)
90
90
  .font(.paragraph)
91
- .foregroundColor(.black)
92
- .opacity(0.6)
91
+ .foregroundColor(Colors.black17)
93
92
  .multilineTextAlignment(.leading)
94
93
  .background(GeometryReader { geo in
95
94
  Color.clear
@@ -102,8 +101,7 @@ public struct PopupDisplay: View {
102
101
  } else {
103
102
  Text(description)
104
103
  .font(.paragraph)
105
- .foregroundColor(.black)
106
- .opacity(0.6)
104
+ .foregroundColor(Colors.black17)
107
105
  .multilineTextAlignment(.leading)
108
106
  .background(GeometryReader { geo in
109
107
  Color.clear
@@ -116,7 +114,7 @@ public struct PopupDisplay: View {
116
114
  }.padding(.bottom, 8)
117
115
 
118
116
  if(!errorCode.isEmpty) {
119
- Text(errorCode)
117
+ Text("Mã lỗi: " + errorCode)
120
118
  .foregroundColor(Colors.black12)
121
119
  .font(.description_xs_regular)
122
120
  .lineLimit(1)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@momo-kits/native-kits",
3
- "version": "0.117.1-beta.14",
3
+ "version": "0.117.1-beta.15",
4
4
  "private": false,
5
5
  "dependencies": {},
6
6
  "devDependencies": {},