diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/OutOfTimeScreen.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/OutOfTimeScreen.kt index bd43dc518a3d..a7d220c4e445 100644 --- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/OutOfTimeScreen.kt +++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/OutOfTimeScreen.kt @@ -2,7 +2,6 @@ package net.mullvad.mullvadvpn.compose.screen import androidx.compose.foundation.Image import androidx.compose.foundation.background -import androidx.compose.foundation.layout.Arrangement import androidx.compose.foundation.layout.Column import androidx.compose.foundation.layout.Spacer import androidx.compose.foundation.layout.defaultMinSize @@ -136,17 +135,15 @@ fun OutOfTimeScreen( timeLeft = null ) { Column( - verticalArrangement = Arrangement.Bottom, - horizontalAlignment = Alignment.Start, modifier = Modifier.fillMaxSize() + .padding(it) .verticalScroll(scrollState) .drawVerticalScrollbar( state = scrollState, color = MaterialTheme.colorScheme.onBackground.copy(alpha = AlphaScrollbar) ) .background(color = MaterialTheme.colorScheme.background) - .padding(it) ) { Image( painter = painterResource(id = R.drawable.icon_fail), diff --git a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/WelcomeScreen.kt b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/WelcomeScreen.kt index 240e84eca38d..c983f69528d7 100644 --- a/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/WelcomeScreen.kt +++ b/android/app/src/main/kotlin/net/mullvad/mullvadvpn/compose/screen/WelcomeScreen.kt @@ -119,13 +119,13 @@ fun WelcomeScreen( Column( modifier = Modifier.fillMaxSize() + .padding(it) .verticalScroll(scrollState) .drawVerticalScrollbar( state = scrollState, color = MaterialTheme.colorScheme.onPrimary.copy(alpha = AlphaScrollbar) ) .background(color = MaterialTheme.colorScheme.primary) - .padding(it) ) { // Welcome info area WelcomeInfo(snackbarHostState, uiState, showSitePayment)