Skip to content

Commit

Permalink
fix: various fixes for chain ID
Browse files Browse the repository at this point in the history
  • Loading branch information
micwallace committed Jan 31, 2024
1 parent d7ce205 commit d0c2ab5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -432,7 +432,7 @@ private void openTokenscriptWebview(Wallet wallet)
tokenScriptView.getSettings().setSupportMultipleWindows(true);

Check warning on line 432 in app/src/main/java/com/alphawallet/app/ui/TokenScriptJsActivity.java

View check run for this annotation

Codecov / codecov/patch

app/src/main/java/com/alphawallet/app/ui/TokenScriptJsActivity.java#L432

Added line #L432 was not covered by tests

tokenScriptView.setWebViewClient(new WebViewClient());
tokenScriptView.setChainId(activeNetwork.chainId, false);
tokenScriptView.setChainId(activeNetwork.chainId, true);
tokenScriptView.setWalletAddress(new Address(wallet.address));

Check warning on line 436 in app/src/main/java/com/alphawallet/app/ui/TokenScriptJsActivity.java

View check run for this annotation

Codecov / codecov/patch

app/src/main/java/com/alphawallet/app/ui/TokenScriptJsActivity.java#L434-L436

Added lines #L434 - L436 were not covered by tests

tokenScriptView.setOnSignMessageListener(this);
Expand Down

0 comments on commit d0c2ab5

Please sign in to comment.