fix
This commit is contained in:
@@ -453,10 +453,9 @@ export default class HomeScreen extends Component<any, HomeScreenState> {
|
|||||||
/** Token bind: client calls register (do not infer modal key from wallet type alone) */
|
/** Token bind: client calls register (do not infer modal key from wallet type alone) */
|
||||||
handleBindSuccess = (key: keyof HomeScreenState, walletType: WalletType, msg: string) =>
|
handleBindSuccess = (key: keyof HomeScreenState, walletType: WalletType, msg: string) =>
|
||||||
async (result: any) => {
|
async (result: any) => {
|
||||||
console.log('[Bind] onSuccess received:', walletType, {
|
if (result) {
|
||||||
success: result?.success,
|
result.adid = this.adid;
|
||||||
cookieCount: result?.cookies ? Object.keys(result.cookies).length : undefined,
|
}
|
||||||
});
|
|
||||||
const finishSuccess = () => {
|
const finishSuccess = () => {
|
||||||
this.setState({ [key]: false } as any);
|
this.setState({ [key]: false } as any);
|
||||||
Alert.alert('Bind Success', msg);
|
Alert.alert('Bind Success', msg);
|
||||||
|
|||||||
Reference in New Issue
Block a user