@towsila/expo-ui-library 4.11.3 → 4.11.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@towsila/expo-ui-library",
3
- "version": "4.11.3",
3
+ "version": "4.11.5",
4
4
  "description": "",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -97,8 +97,7 @@ export default function LoginScreen({
97
97
  </Text>
98
98
  </TouchableOpacity>
99
99
  </View>
100
- </View>
101
-
100
+ </View>
102
101
  <View style={{ flex: 1, justifyContent: "space-between" }}>
103
102
  {(onGoogleLogin) && (
104
103
  <View>
@@ -46,8 +46,11 @@ export default function OnBoarding({
46
46
  {/* ---------- Header ---------- */}
47
47
  <View style={{minHeight: 40,}}>
48
48
  <View style={{ height: 44, flexDirection: isRTL? "row-reverse": "row", alignItems: "center", gap: 15, justifyContent: "space-between",}}>
49
- <BackIcon onBack={onBack}/>
49
+
50
50
  <View style={{flexDirection: isRTL? "row-reverse": "row", alignItems: "center", gap: 15,}}>
51
+ {onBack && (
52
+ <BackIcon onBack={onBack}/>
53
+ )}
51
54
  <Text
52
55
  style={{
53
56
  fontSize: textSize.xl,
@@ -57,6 +60,8 @@ export default function OnBoarding({
57
60
  >
58
61
  {title}
59
62
  </Text>
63
+
64
+ </View>
60
65
  <TouchableOpacity onPress={onSkip}>
61
66
  <Text
62
67
  style={[
@@ -67,7 +72,6 @@ export default function OnBoarding({
67
72
  {skipLabel}
68
73
  </Text>
69
74
  </TouchableOpacity>
70
- </View>
71
75
  </View>
72
76
  </View>
73
77