use of com.frostwire.bittorrent.PaymentOptions in project frostwire by frostwire.
the class CreateTorrentDialog method addAvailablePaymentOptions.
private void addAvailablePaymentOptions(final Map<String, Entry> entryMap) {
if (paymentOptionsPanel.hasPaymentOptions()) {
PaymentOptions paymentOptions = paymentOptionsPanel.getPaymentOptions();
if (paymentOptions != null) {
final Map<String, Entry> info = entryMap.get("info").dictionary();
info.put("paymentOptions", Entry.fromMap(paymentOptions.asMap()));
entryMap.put("info", Entry.fromMap(info));
}
}
}
Aggregations