Skip to content

Commit

Permalink
start wallet connect pairing if url start with wc-altme
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkbee1 committed Jul 29, 2023
1 parent eda0aaa commit 1e35c51
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ class QRCodeScanCubit extends Cubit<QRCodeScanState> {

await beacon.pair(pairingRequest: pairingRequest);
emit(state.copyWith(qrScanStatus: QrScanStatus.goBack));
} else if (scannedResponse.startsWith('wc:')) {
} else if (scannedResponse.startsWith('wc:') ||
scannedResponse.startsWith('wc-altme:')) {
/// wallet connect
await walletConnectCubit.connect(scannedResponse);
emit(state.copyWith(qrScanStatus: QrScanStatus.goBack));
Expand Down

0 comments on commit 1e35c51

Please sign in to comment.