Skip to content

Commit

Permalink
Update Constants.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelavoyan committed Sep 29, 2024
1 parent 90ced7c commit 53984d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/src/main/java/com/vcl/wallet/Constants.kt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ object Constants {
"did:velocity:v2:0xfef35344bca1454bbe844e13af77c92d4fbed13b:73421631052335:6705"
private const val CredentialId2Staging =
"did:velocity:v2:0xfef35344bca1454bbe844e13af77c92d4fbed13b:73421631052335:9368"

fun getCredentialIdsToRefresh(environment: VCLEnvironment) =
if (environment == VCLEnvironment.Dev)
listOf(CredentialId1Dev, CredentialId2Dev)
Expand Down Expand Up @@ -118,7 +119,7 @@ object Constants {
const val ResidentPermitV10 = "ResidentPermitV1.0"

fun getVerifiedProfileDescriptor(environment: VCLEnvironment) =
if(environment == VCLEnvironment.Dev)
if (environment == VCLEnvironment.Dev)
VCLVerifiedProfileDescriptor(did = IssuerDidDev)
else VCLVerifiedProfileDescriptor(did = IssuerDidStaging)

Expand Down

0 comments on commit 53984d8

Please sign in to comment.