[bisq-network/bisq] Add missing @Named annotations for CoinFormatter injection (#3658)

Christoph Atteneder notifications at github.com
Fri Nov 22 09:41:29 UTC 2019


ripcurlx commented on this pull request.



> @@ -139,7 +142,7 @@
     public DisputeView(DisputeManager<? extends DisputeList<? extends DisputeList>> disputeManager,
                        KeyRing keyRing,
                        TradeManager tradeManager,
-                       CoinFormatter formatter,
+                       @Named(FormattingUtils.BTC_FORMATTER_KEY) CoinFormatter formatter,

> But it turns out `@inject` is not infact mandatory and the program crashes on these views without this annotation.

Did it crash for you while testing?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/3658#discussion_r349508064
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20191122/1db020ca/attachment.html>


More information about the bisq-github mailing list