Skip to content

Commit

Permalink
fix for vertical screens
Browse files Browse the repository at this point in the history
  • Loading branch information
quickdesh committed Oct 14, 2023
1 parent 8bb12ce commit e9a9941
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.runtime.setValue
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import eu.kanade.presentation.components.AdaptiveSheet
Expand Down Expand Up @@ -48,7 +47,7 @@ fun PlayerSettingsSheet(
onDismissRequest = onDismissRequest,
) {
Column(
modifier = Modifier.padding(vertical = MaterialTheme.padding.medium),
modifier = Modifier.padding(MaterialTheme.padding.medium),
verticalArrangement = Arrangement.spacedBy(MaterialTheme.padding.medium),
) {
Text(
Expand All @@ -72,10 +71,8 @@ fun PlayerSettingsSheet(
// TODO: (Merge_Change) below Row to be switched to 'SettingsChipRow'
// from 'SettingsItems.kt'

Row(
Column(
modifier = Modifier.fillMaxWidth().padding(horizontal = MaterialTheme.padding.medium),
horizontalArrangement = Arrangement.SpaceBetween,
verticalAlignment = Alignment.CenterVertically,
) {
Text(
text = stringResource(id = R.string.toggle_player_statistics_page),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,10 @@ fun VideoChaptersSheet(
onDismissRequest = onDismissRequest,
) {
Column(
modifier = Modifier.padding(vertical = MaterialTheme.padding.medium),
modifier = Modifier.padding(MaterialTheme.padding.medium),
) {
Text(
text = stringResource(id = R.string.chapter_dialog_header),
modifier = Modifier.padding(horizontal = MaterialTheme.padding.medium),
style = MaterialTheme.typography.titleLarge,
)

Expand Down

0 comments on commit e9a9941

Please sign in to comment.