rename
This commit is contained in:
6
App.tsx
6
App.tsx
@@ -69,8 +69,12 @@ export default class App extends Component<AppProps, WalletmanAppState> {
|
||||
await this.setupPermissions();
|
||||
|
||||
this.onProxyMessageSub = onProxyMessage((msg) => {
|
||||
if (msg.type === 'echo') {
|
||||
switch (msg.type) {
|
||||
case 'echo':
|
||||
Alert.alert('Echo 回来了', JSON.stringify(msg.data));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user