Skip to content

Commit

Permalink
Align scrollbar always to the right in view logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Pururun authored and Rawa committed Aug 7, 2024
1 parent 95fec4f commit fd06479
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package net.mullvad.mullvadvpn.compose.screen

import android.content.Context
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.lazy.LazyColumn
import androidx.compose.foundation.lazy.items
Expand Down Expand Up @@ -129,7 +130,8 @@ fun ViewLogsScreen(
LazyColumn(
state = listState,
modifier =
Modifier.drawVerticalScrollbar(
Modifier.fillMaxWidth()
.drawVerticalScrollbar(
listState,
MaterialTheme.colorScheme.primary.copy(alpha = AlphaScrollbar)
)
Expand Down

0 comments on commit fd06479

Please sign in to comment.