react-native-timacare 0.0.34 → 0.0.35
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/lib/commonjs/screens/home/index.js +1 -1
- package/lib/commonjs/screens/home/index.js.flow +10 -4
- package/lib/commonjs/screens/home/index.js.map +1 -1
- package/lib/module/screens/home/index.js +1 -1
- package/lib/module/screens/home/index.js.map +1 -1
- package/lib/typescript/screens/home/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/screens/home/index.tsx +10 -4
|
@@ -1628,7 +1628,7 @@ export const Home = observer(function Home() {
|
|
|
1628
1628
|
)}`,
|
|
1629
1629
|
[
|
|
1630
1630
|
{
|
|
1631
|
-
text: '
|
|
1631
|
+
text: 'Có',
|
|
1632
1632
|
onPress: async () => {
|
|
1633
1633
|
const response =
|
|
1634
1634
|
await Api.getInstance().customerCancel({
|
|
@@ -1639,8 +1639,14 @@ export const Home = observer(function Home() {
|
|
|
1639
1639
|
setShowModal2(false);
|
|
1640
1640
|
const key = `SHOW_${loan.id}`;
|
|
1641
1641
|
save(key, true);
|
|
1642
|
-
Alert.alert('Thông báo', 'Huỷ đơn thành công'
|
|
1643
|
-
|
|
1642
|
+
Alert.alert('Thông báo', 'Huỷ đơn thành công', [
|
|
1643
|
+
{
|
|
1644
|
+
text: 'Đồng ý',
|
|
1645
|
+
onPress: () => {
|
|
1646
|
+
navigation.pop();
|
|
1647
|
+
},
|
|
1648
|
+
},
|
|
1649
|
+
]);
|
|
1644
1650
|
}
|
|
1645
1651
|
} else {
|
|
1646
1652
|
Alert.alert(
|
|
@@ -1650,7 +1656,7 @@ export const Home = observer(function Home() {
|
|
|
1650
1656
|
},
|
|
1651
1657
|
},
|
|
1652
1658
|
{
|
|
1653
|
-
text: '
|
|
1659
|
+
text: 'Không',
|
|
1654
1660
|
},
|
|
1655
1661
|
]
|
|
1656
1662
|
);
|