mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-29 11:44:01 +01:00
Generic Fixes (#1103)
* Update trade_details_page.dart * let web3dart calculate gas price and max gas while just providing the priority fee per gas needed
This commit is contained in:
@@ -51,10 +51,11 @@ class TradeDetailsPageBodyState extends State<TradeDetailsPageBody> {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Observer(builder: (_) {
|
||||
// FIX-ME: Added `context` it was not used here before, maby bug ?
|
||||
int itemsCount = tradeDetailsViewModel.items.length;
|
||||
|
||||
return SectionStandardList(
|
||||
sectionCount: 1,
|
||||
itemCounter: (int _) => tradeDetailsViewModel.items.length,
|
||||
itemCounter: (int _) => itemsCount,
|
||||
itemBuilder: (__, index) {
|
||||
final item = tradeDetailsViewModel.items[index];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user