Skip to content

Commit

Permalink
Generic fixes (#1354)
Browse files Browse the repository at this point in the history
* Change order of currencies in currency picker

* Disable Background sync until implemented properly

* remove ability to use device pin in bio auth

* Fix condition

* Minor fix [skip ci]

* make notifications red dot go when opened

* Update Frozen coin text color

* Update Frozen coin text color

* Fetch internal transactions for eth and polygon

* Remove debug prints [skip ci]

* Fix Camera permission on iOS [skip ci]

* Minor fixes [skip ci]

---------

Co-authored-by: tuxsudo <[email protected]>
  • Loading branch information
OmarHatem28 and tuxpizza authored Mar 29, 2024
1 parent a9b8c03 commit 1f904dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cw_ethereum/lib/ethereum_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class EthereumClient extends EVMChainClient {
final response = await httpClient.get(Uri.https("api.etherscan.io", "/api", {
"module": "account",
"action": "txlistinternal",
"address": "0x72067Bf532b21A096D2e2B4953d69554E1a61917",
"address": address,
"apikey": secrets.etherScanApiKey,
}));

Expand Down
4 changes: 1 addition & 3 deletions cw_polygon/lib/polygon_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ class PolygonClient extends EVMChainClient {
required EthereumAddress to,
required EtherAmount amount,
EtherAmount? maxPriorityFeePerGas,
Uint8List? data,

}) {
return Transaction(
from: from,
Expand Down Expand Up @@ -71,7 +69,7 @@ class PolygonClient extends EVMChainClient {

if (response.statusCode >= 200 && response.statusCode < 300 && jsonResponse['status'] != 0) {
return (jsonResponse['result'] as List)
.map((e) => EVMChainTransactionModel.fromJson(e as Map<String, dynamic>, 'ETH'))
.map((e) => EVMChainTransactionModel.fromJson(e as Map<String, dynamic>, 'MATIC'))
.toList();
}

Expand Down

0 comments on commit 1f904dc

Please sign in to comment.