Use productionApplicationName, set to "Element", instead of "Element X", and use ot for screen_onboarding_welcome_message
This commit is contained in:
parent
a4cb241767
commit
ffede8b13b
7 changed files with 8 additions and 3 deletions
|
|
@ -33,7 +33,7 @@ class OnBoardingPresenter @Inject constructor(
|
|||
override fun present(): OnBoardingState {
|
||||
return OnBoardingState(
|
||||
isDebugBuild = buildMeta.buildType != BuildType.RELEASE,
|
||||
applicationName = buildMeta.applicationName,
|
||||
productionApplicationName = buildMeta.productionApplicationName,
|
||||
canLoginWithQrCode = OnBoardingConfig.CAN_LOGIN_WITH_QR_CODE,
|
||||
canCreateAccount = OnBoardingConfig.CAN_CREATE_ACCOUNT,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ package io.element.android.features.onboarding.impl
|
|||
|
||||
data class OnBoardingState(
|
||||
val isDebugBuild: Boolean,
|
||||
val applicationName: String,
|
||||
val productionApplicationName: String,
|
||||
val canLoginWithQrCode: Boolean,
|
||||
val canCreateAccount: Boolean,
|
||||
)
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ private fun OnBoardingContent(
|
|||
)
|
||||
Spacer(modifier = Modifier.height(8.dp))
|
||||
Text(
|
||||
text = stringResource(id = R.string.screen_onboarding_welcome_message, state.applicationName),
|
||||
text = stringResource(id = R.string.screen_onboarding_welcome_message, state.productionApplicationName),
|
||||
color = ElementTheme.materialColors.secondary,
|
||||
style = ElementTheme.typography.fontBodyLgRegular.copy(fontSize = 17.sp),
|
||||
textAlign = TextAlign.Center
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue