mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-26 15:44:54 +01:00
Add a nested class of lazy fields to (Deposit|Transactions)ListItem, together with an associated memoised Supplier, lazyFieldsSupplier, which initialises them all the first time any one of them is requested. Move the txConfidenceIndicator & tooltip fields to this class, so that they are only loaded when the given address/tx row is displayed in the deposit/transactions views, respectively. This prevents a minor bottleneck, as profiling indicates that creating a tooltip for each tx confidence indicator in the list is quite expensive and takes up around half the rendering time. (There may be 1000's of txs or addresses in an old wallet.) |
||
---|---|---|
.. | ||
main | ||
test |