Updated on 2026-08-14
This commit is contained in:
parent
d588893224
commit
1a5130f332
4 changed files with 11 additions and 25 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue