Fixes app name

This commit is contained in:
Vitor Pamplona
2025-08-21 12:20:16 -04:00
parent bcdf6e5ff7
commit 1d1ee8670e
2 changed files with 3 additions and 3 deletions

View File

@@ -536,7 +536,7 @@ fun authenticate(
fun keyguardPrompt() { fun keyguardPrompt() {
val intent = val intent =
keyguardManager.createConfirmDeviceCredentialIntent( keyguardManager.createConfirmDeviceCredentialIntent(
stringRes(context, R.string.app_name_release), stringRes(context, R.string.app_name),
title, title,
) )
@@ -556,7 +556,7 @@ fun authenticate(
val promptInfo = val promptInfo =
BiometricPrompt.PromptInfo BiometricPrompt.PromptInfo
.Builder() .Builder()
.setTitle(stringRes(context, R.string.app_name_release)) .setTitle(stringRes(context, R.string.app_name))
.setSubtitle(title) .setSubtitle(title)
.setAllowedAuthenticators(authenticators) .setAllowedAuthenticators(authenticators)
.build() .build()

View File

@@ -1,5 +1,5 @@
<resources xmlns:tools="http://schemas.android.com/tools"> <resources xmlns:tools="http://schemas.android.com/tools">
<string name="app_name_release" translatable="false">Amethyst</string> <string name="app_name" translatable="false">Amethyst</string>
<string name="app_name_debug" translatable="false">Amy Debug</string> <string name="app_name_debug" translatable="false">Amy Debug</string>
<string name="app_name_benchmark" translatable="false">Amy Benchmark</string> <string name="app_name_benchmark" translatable="false">Amy Benchmark</string>
<string name="point_to_the_qr_code">Point to the QR Code</string> <string name="point_to_the_qr_code">Point to the QR Code</string>