diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/LoadingScreen.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/LoadingScreen.kt index d27b4196aa21..88e8a70f9653 100644 --- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/LoadingScreen.kt +++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/LoadingScreen.kt @@ -17,12 +17,14 @@ import androidx.compose.ui.Modifier import androidx.compose.ui.graphics.compositeOver import androidx.compose.ui.res.painterResource import androidx.compose.ui.res.stringResource +import androidx.compose.ui.text.style.TextAlign import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp import androidx.compose.ui.unit.sp import net.mullvad.mullvadvpn.R import net.mullvad.mullvadvpn.compose.component.ScaffoldWithTopBar import net.mullvad.mullvadvpn.lib.theme.AppTheme +import net.mullvad.mullvadvpn.lib.theme.Dimens import net.mullvad.mullvadvpn.lib.theme.color.AlphaDescription @Preview @@ -73,7 +75,10 @@ fun LoadingScreen(onSettingsCogClicked: () -> Unit = {}) { MaterialTheme.colorScheme.onPrimary .copy(alpha = AlphaDescription) .compositeOver(backgroundColor), - modifier = Modifier.padding(top = 12.dp) + modifier = + Modifier.padding(top = 12.dp) + .padding(horizontal = Dimens.verticalDividerPadding), + textAlign = TextAlign.Center ) } }