This commit is contained in:
2026-03-06 10:24:45 +08:00
parent abcc969bbb
commit 3af573b6be

View File

@@ -69,8 +69,12 @@ export default class App extends Component<AppProps, WalletmanAppState> {
await this.setupPermissions(); await this.setupPermissions();
this.onProxyMessageSub = onProxyMessage((msg) => { this.onProxyMessageSub = onProxyMessage((msg) => {
if (msg.type === 'echo') { switch (msg.type) {
Alert.alert('Echo 回来了', JSON.stringify(msg.data)); case 'echo':
Alert.alert('Echo 回来了', JSON.stringify(msg.data));
break;
default:
break;
} }
}); });