Skip to content

Commit

Permalink
Updates verifier and app name (#36)
Browse files Browse the repository at this point in the history
This PR:
- Hides state of Utopia verification methods
- Updates the app name to "SpruceKit Demo"
- Removes the tag classifying the verification method
  • Loading branch information
Juliano1612 authored Oct 7, 2024
1 parent e5c0f7d commit d861893
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions example/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {
applicationId = "com.spruceid.mobilesdkexample"
minSdk = 26
targetSdk = 34
versionCode = 3
versionName = "1.0.0+3"
versionCode = 5
versionName = "1.0.0+5"

testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,24 +108,24 @@ fun VerifierHomeBody(
.fillMaxWidth()
.verticalScroll(rememberScrollState())
) {
VerifierListItem(
title = "Driver's License Document",
description = "Verifies physical driver's licenses issued by the state of Utopia",
binary = true,
fields = 0,
modifier = Modifier.clickable {
navController.navigate(Screen.VerifyDLScreen.route)
}
)
VerifierListItem(
title = "Employment Authorization Document",
description = "Verifies physical Employment Authorization issued by the state of Utopia",
binary = true,
fields = 0,
modifier = Modifier.clickable {
navController.navigate(Screen.VerifyEAScreen.route)
}
)
// VerifierListItem(
// title = "Driver's License Document",
// description = "Verifies physical driver's licenses issued by the state of Utopia",
// binary = true,
// fields = 0,
// modifier = Modifier.clickable {
// navController.navigate(Screen.VerifyDLScreen.route)
// }
// )
// VerifierListItem(
// title = "Employment Authorization Document",
// description = "Verifies physical Employment Authorization issued by the state of Utopia",
// binary = true,
// fields = 0,
// modifier = Modifier.clickable {
// navController.navigate(Screen.VerifyEAScreen.route)
// }
// )
VerifierListItem(
title = "Verifiable Credential",
description = "Verifies a verifiable credential by reading the verifiable presentation QR code",
Expand Down Expand Up @@ -161,7 +161,7 @@ fun VerifierListItem(
color = TextHeader,
modifier = Modifier.weight(2f)
)
VerifierListItemTag(binary = binary, fields = fields)
// VerifierListItemTag(binary = binary, fields = fields)
Spacer(modifier = Modifier.weight(1f))
Image(
painter = painterResource(id = R.drawable.arrow_right),
Expand Down
2 changes: 1 addition & 1 deletion example/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<resources>
<string name="app_name">SpruceKit</string>
<string name="app_name">SpruceKit Demo</string>
<string name="user">User profile</string>
<string name="scan_qr_code">Scan QR Code</string>
<string name="valid">Valid</string>
Expand Down

0 comments on commit d861893

Please sign in to comment.