mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-15 07:28:30 +00:00
Fix RTL issue with phone number in settings.
Fixes #14239 Resolves #14387
This commit is contained in:
@@ -35,7 +35,9 @@ import androidx.compose.ui.res.colorResource
|
||||
import androidx.compose.ui.res.painterResource
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import androidx.compose.ui.res.vectorResource
|
||||
import androidx.compose.ui.text.TextStyle
|
||||
import androidx.compose.ui.text.style.TextAlign
|
||||
import androidx.compose.ui.text.style.TextDirection
|
||||
import androidx.compose.ui.unit.dp
|
||||
import androidx.fragment.app.viewModels
|
||||
import androidx.lifecycle.Lifecycle
|
||||
@@ -634,7 +636,10 @@ private fun BioRow(
|
||||
|
||||
Text(
|
||||
text = prettyPhoneNumber,
|
||||
color = MaterialTheme.colorScheme.onSurfaceVariant
|
||||
color = MaterialTheme.colorScheme.onSurfaceVariant,
|
||||
style = TextStyle(
|
||||
textDirection = TextDirection.ContentOrLtr
|
||||
)
|
||||
)
|
||||
|
||||
if (hasUsername) {
|
||||
|
||||
Reference in New Issue
Block a user