Updated on 2026-08-14

This commit is contained in:
Tangem 2021-09-28 06:49:52 +03:00
parent 34a364fca1
commit 3658f49240
2 changed files with 4 additions and 4 deletions

View file

@ -76,9 +76,9 @@ dependencies {
implementation 'com.google.android.play:core-ktx:1.8.1'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.5'
implementation 'com.tangem:blockchain:develop-38'
implementation 'com.tangem.tangem-sdk-kotlin:core:develop-78'
implementation 'com.tangem.tangem-sdk-kotlin:android:develop-78'
implementation 'com.tangem:blockchain:develop-41'
implementation 'com.tangem.tangem-sdk-kotlin:core:develop-79'
implementation 'com.tangem.tangem-sdk-kotlin:android:develop-79'
// WebView
implementation "androidx.browser:browser:1.3.0"

View file

@ -185,7 +185,7 @@ private fun handleSecurityAction(
private fun prepareAllowedSecurityOptions(
card: Card?, currentSecurityOption: SecurityOption?
): EnumSet<SecurityOption> {
val prohibitDefaultPin = card?.settings?.isRemovingAccessCodeAllowed != true
val prohibitDefaultPin = card?.settings?.isResettingUserCodesAllowed != true
val allowedSecurityOptions = EnumSet.noneOf(SecurityOption::class.java)
if ((currentSecurityOption == SecurityOption.LongTap) || !prohibitDefaultPin) {