112233
This commit is contained in:
@@ -23,6 +23,7 @@ import {
|
||||
PhonePeBusinessBind,
|
||||
WalletType,
|
||||
PaytmBusinessBindResult,
|
||||
PaytmBusinessTokenBindResult,
|
||||
PaytmPersonalBind,
|
||||
FreechargePersonalBindResult,
|
||||
GooglePayBusinessBindResult,
|
||||
@@ -40,6 +41,7 @@ import {
|
||||
AmazonPayPersonalBind,
|
||||
BindErrorCode,
|
||||
ProxyBackgroundService,
|
||||
PaytmBusinessTokenBind,
|
||||
} from 'rnwalletman';
|
||||
|
||||
import {
|
||||
@@ -49,7 +51,6 @@ import {
|
||||
PhonePePersonalOTPBind,
|
||||
BharatPeBusinessOTPBind,
|
||||
PaytmBusinessOTPBind,
|
||||
PaytmBusinessTokenBind,
|
||||
PhonePeBusinessOTPBind,
|
||||
} from '../components/WalletBindComponents';
|
||||
import { WalletSelectModal, WALLET_ICONS, WALLET_TYPE_COLORS } from '../components/WalletSelectModal';
|
||||
@@ -697,10 +698,10 @@ export default class HomeScreen extends Component<any, HomeScreenState> {
|
||||
<PaytmBusinessTokenBind
|
||||
isDebug
|
||||
processString="Connecting to Paytm Business..."
|
||||
onSuccess={(result) => {
|
||||
onSuccess={(result: PaytmBusinessTokenBindResult) => {
|
||||
this.handleBindSuccess('showPaytmBusinessBind', WalletType.PAYTM_BUSINESS, 'Paytm Business bound successfully')(result);
|
||||
}}
|
||||
onError={(code, message) => {
|
||||
onError={(code: string, message: string) => {
|
||||
Alert.alert('Bind Failed', message || code);
|
||||
close('showPaytmBusinessBind')();
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user