Skip to content

Commit

Permalink
Fix DPAD navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
Rawa authored and Pururun committed Oct 16, 2023
1 parent 0890a3f commit 55bd45f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 55bd45f

Please sign in to comment.