mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Create alias for typography (more semantic name). aliasButtonText
This commit is contained in:
committed by
Benoit Marty
parent
b7b6e0323d
commit
3e03ca4a5e
+4
-3
@@ -51,6 +51,7 @@ import io.element.android.libraries.designsystem.theme.components.Text
|
||||
import io.element.android.libraries.testtags.TestTags
|
||||
import io.element.android.libraries.testtags.testTag
|
||||
import io.element.android.libraries.theme.ElementTheme
|
||||
import io.element.android.libraries.theme.aliasButtonText
|
||||
import io.element.android.libraries.ui.strings.CommonStrings
|
||||
|
||||
// Refs:
|
||||
@@ -166,7 +167,7 @@ private fun OnBoardingButtons(
|
||||
Spacer(Modifier.width(14.dp))
|
||||
Text(
|
||||
text = stringResource(id = R.string.screen_onboarding_sign_in_with_qr_code),
|
||||
style = ElementTheme.typography.fontBodyLgMedium,
|
||||
style = ElementTheme.typography.aliasButtonText,
|
||||
)
|
||||
}
|
||||
}
|
||||
@@ -179,7 +180,7 @@ private fun OnBoardingButtons(
|
||||
) {
|
||||
Text(
|
||||
text = stringResource(id = signInButtonStringRes),
|
||||
style = ElementTheme.typography.fontBodyLgMedium,
|
||||
style = ElementTheme.typography.aliasButtonText,
|
||||
)
|
||||
}
|
||||
if (state.canCreateAccount) {
|
||||
@@ -191,7 +192,7 @@ private fun OnBoardingButtons(
|
||||
) {
|
||||
Text(
|
||||
text = stringResource(id = R.string.screen_onboarding_sign_up),
|
||||
style = ElementTheme.typography.fontBodyLgMedium,
|
||||
style = ElementTheme.typography.aliasButtonText,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user