react-native-timacare 1.0.5 → 1.0.7

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.
@@ -8,7 +8,7 @@ import { save, USER } from '../../utils/storage';
8
8
  class Store {
9
9
  @observable isLoading = false;
10
10
  @observable isError = false;
11
- @observable type = 1;
11
+ @observable type = 2;
12
12
 
13
13
  @action
14
14
  async getOTP(params, onSuccess?) {
@@ -53,7 +53,7 @@ export const ConfirmContract = observer(function ConfirmContract({
53
53
  const [open, setOpen] = useState(false);
54
54
 
55
55
  useEffect(() => {
56
- SignTimaStore.getOtpSign(1);
56
+ SignTimaStore.getOtpSign(2);
57
57
  }, []);
58
58
 
59
59
  useEffect(() => {
@@ -144,7 +144,6 @@ export const ConfirmContract = observer(function ConfirmContract({
144
144
  textContentType="jobTitle"
145
145
  renderCell={({ index, symbol, isFocused }) => (
146
146
  <View
147
- // Make sure that you pass onLayout={getCellOnLayoutHandler(index)} prop to root component of "Cell"
148
147
  onLayout={getCellOnLayoutHandler(index)}
149
148
  key={index}
150
149
  style={{
@@ -262,7 +261,6 @@ export const ConfirmContract = observer(function ConfirmContract({
262
261
  </MText>
263
262
  </View>
264
263
  <View>
265
- {/* @ts-ignore */}
266
264
  <TouchableOpacity
267
265
  style={styles.btn}
268
266
  onPress={() => {
@@ -273,7 +271,6 @@ export const ConfirmContract = observer(function ConfirmContract({
273
271
  >
274
272
  <MText>Nhận qua cuộc gọi thoại</MText>
275
273
  </TouchableOpacity>
276
- {/* @ts-ignore */}
277
274
  <TouchableOpacity
278
275
  style={styles.btn}
279
276
  onPress={() => {
@@ -284,17 +281,6 @@ export const ConfirmContract = observer(function ConfirmContract({
284
281
  >
285
282
  <MText>Nhận qua Zalo</MText>
286
283
  </TouchableOpacity>
287
- {/* @ts-ignore */}
288
- <TouchableOpacity
289
- style={[styles.btn, { marginBottom: 16 }]}
290
- onPress={() => {
291
- setOpen(false);
292
- SignTimaStore.getOtpSign(1);
293
- setExpireTime(300);
294
- }}
295
- >
296
- <MText>Nhận qua SMS</MText>
297
- </TouchableOpacity>
298
284
  </View>
299
285
  </View>
300
286
  </View>