Updated on 2026-08-14

This commit is contained in:
Tangem 2018-06-28 17:12:31 +03:00
parent e58ca25402
commit b63496aeaa
4 changed files with 11 additions and 5 deletions

Binary file not shown.

View file

@ -15,7 +15,7 @@ android {
applicationId "com.tangem.wallet"
minSdkVersion 21
targetSdkVersion 27
versionCode 28
versionCode 29
versionName "0.85.5." + generateVersionName()
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}

View file

@ -1,6 +1,7 @@
package com.tangem.presentation.fragment;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.ClipData;
import android.content.ClipboardManager;
import android.content.Intent;
@ -646,9 +647,14 @@ public class LoadedWallet extends Fragment implements SwipeRefreshLayout.OnRefre
ivQR.setOnClickListener(v1 -> doShareWallet(true));
btnLoad.setOnClickListener(v1 -> {
Intent intent = new Intent(Intent.ACTION_VIEW, Objects.requireNonNull(CoinEngineFactory.Create(mCard.getBlockchain())).getShareWalletURI(mCard));
intent.addCategory(Intent.CATEGORY_DEFAULT);
startActivity(intent);
try {
Intent intent = new Intent(Intent.ACTION_VIEW, Objects.requireNonNull(CoinEngineFactory.Create(mCard.getBlockchain())).getShareWalletURI(mCard));
intent.addCategory(Intent.CATEGORY_DEFAULT);
startActivity(intent);
} catch (ActivityNotFoundException e) {
e.printStackTrace();
}
}
);

View file

@ -440,9 +440,9 @@
<android.support.v7.widget.AppCompatButton
android:id="@+id/btnLoad"
android:layout_margin="10dp"
style="@style/AppTheme.RoundedCornerMaterialButton"
android:layout_width="wrap_content"
android:layout_margin="10dp"
android:text="@string/load"/>
<android.support.design.widget.FloatingActionButton