Use productionApplicationName, set to "Element", instead of "Element X", and use ot for screen_onboarding_welcome_message
This commit is contained in:
+1
-1
@@ -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,
|
||||
)
|
||||
|
||||
+1
-1
@@ -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,
|
||||
)
|
||||
|
||||
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user