|
@@ -1,10 +1,11 @@
|
|
|
import i18n from '../i18n';
|
|
import i18n from '../i18n';
|
|
|
import * as Linking from 'expo-linking';
|
|
import * as Linking from 'expo-linking';
|
|
|
|
|
|
|
|
-// import { Toast, ModalIndicator, PopoverPicker } from 'teaset';
|
|
|
|
|
|
|
+import { Toast, ModalIndicator, PopoverPicker } from 'teaset';
|
|
|
import { Platform } from 'react-native';
|
|
import { Platform } from 'react-native';
|
|
|
|
|
|
|
|
function connect(navigation) {
|
|
function connect(navigation) {
|
|
|
|
|
+ toastHide();
|
|
|
navigation.navigate('Modal', {
|
|
navigation.navigate('Modal', {
|
|
|
screen: 'Alert',
|
|
screen: 'Alert',
|
|
|
params: {
|
|
params: {
|
|
@@ -28,6 +29,7 @@ function promot(
|
|
|
secureTextEntry: false,
|
|
secureTextEntry: false,
|
|
|
}
|
|
}
|
|
|
) {
|
|
) {
|
|
|
|
|
+ toastHide();
|
|
|
navigation.navigate('Modal', {
|
|
navigation.navigate('Modal', {
|
|
|
screen: 'Promot',
|
|
screen: 'Promot',
|
|
|
params,
|
|
params,
|
|
@@ -43,6 +45,7 @@ function alert(
|
|
|
hasCancel: true,
|
|
hasCancel: true,
|
|
|
}
|
|
}
|
|
|
) {
|
|
) {
|
|
|
|
|
+ toastHide();
|
|
|
navigation.navigate('Modal', {
|
|
navigation.navigate('Modal', {
|
|
|
screen: 'Alert',
|
|
screen: 'Alert',
|
|
|
params,
|
|
params,
|
|
@@ -84,5 +87,5 @@ export {
|
|
|
toastSuccess,
|
|
toastSuccess,
|
|
|
getMoney,
|
|
getMoney,
|
|
|
alert,
|
|
alert,
|
|
|
- // PopoverPicker,
|
|
|
|
|
|
|
+ PopoverPicker,
|
|
|
};
|
|
};
|