Updated on 2026-08-14

This commit is contained in:
Tangem 2019-01-27 17:19:05 +03:00
parent d588893224
commit 1a5130f332
4 changed files with 11 additions and 25 deletions

View file

@ -29,9 +29,6 @@ public interface NetworkComponent {
@Named(Server.ApiRootstock.URL_ROOTSTOCK)
Retrofit getRetrofitRootstock();
// @Named("Insight") //TODO:check
// Retrofit getRetrofitInsight(String insightURL);
@Named("socket")
Socket getSocket();

View file

@ -41,16 +41,6 @@ class NetworkModule {
.build();
}
// //@Singleton // TODO:check
// @Provides
// @Named("Insight")
// Retrofit provideRetrofitInsight(String insightURL) {
// return new Retrofit.Builder()
// .baseUrl(insightURL)
// .addConverterFactory(GsonConverterFactory.create())
// .build();
// }
@Singleton
@Provides
@Named(Server.ApiEstimatefee.URL_ESTIMATEFEE)

View file

@ -88,7 +88,7 @@ class ConfirmTransactionActivity : AppCompatActivity(), NfcAdapter.ReaderCallbac
override fun onTextChanged(s: CharSequence, start: Int, before: Int, count: Int) {
try {
val engine = CoinEngineFactory.create(ctx)
val eqFee = engine!!.evaluateFeeEquivalent(etFee!!.text.toString())
val eqFee = engine?.evaluateFeeEquivalent(etFee!!.text.toString())
tvFeeEquivalent.text = eqFee
if (!ctx.coinData!!.amountEquivalentDescriptionAvailable) {