Generic fixes (#1354)

* 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 <tuxsudo@tux.pizza>

Omar Hatem committed Mar 29, 2024 at 20:59 UTC 1f904dcd47f0fb6162154f726a547634ea7300b7
2 files changed +2 -4
cw_ethereum/lib/ethereum_client.dart
+1 -1
@@ -48,7 +48,7 @@ class EthereumClient extends EVMChainClient {
48 final response = await httpClient.get(Uri.https("api.etherscan.io", "/api", {
49 "module": "account",
50 "action": "txlistinternal",
51 - "address": "0x72067Bf532b21A096D2e2B4953d69554E1a61917",
51 + "address": address,
52 "apikey": secrets.etherScanApiKey,
53 }));
54
cw_polygon/lib/polygon_client.dart
+1 -3
@@ -13,8 +13,6 @@ class PolygonClient extends EVMChainClient {
13 required EthereumAddress to,
14 required EtherAmount amount,
15 EtherAmount? maxPriorityFeePerGas,
16 - Uint8List? data,
17 -
16 }) {
17 return Transaction(
18 from: from,
@@ -71,7 +69,7 @@ class PolygonClient extends EVMChainClient {
69
70 if (response.statusCode >= 200 && response.statusCode < 300 && jsonResponse['status'] != 0) {
71 return (jsonResponse['result'] as List)
74 - .map((e) => EVMChainTransactionModel.fromJson(e as Map<String, dynamic>, 'ETH'))
72 + .map((e) => EVMChainTransactionModel.fromJson(e as Map<String, dynamic>, 'MATIC'))
73 .toList();
74 }
75