Skip to content

Commit

Permalink
make subtitle look dissapear with override switch
Browse files Browse the repository at this point in the history
  • Loading branch information
abdallahmehiz committed Jul 27, 2023
1 parent 913109a commit ae838d5
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ private fun StylePage(screenModel: PlayerSettingsScreenModel) {
MPVLib.setPropertyString("sub-ass-override", overrideType)
}
Column(modifier = Modifier.padding(horizontal = 24.dp)) {
SubtitleLook(screenModel = screenModel)
Row(
modifier = Modifier
.fillMaxWidth()
Expand All @@ -182,7 +181,10 @@ private fun StylePage(screenModel: PlayerSettingsScreenModel) {
onCheckedChange = { updateOverride() },
)
}
if (overrideSubtitles) SubtitleColors(screenModel = screenModel)
if (overrideSubtitles) {
SubtitleLook(screenModel = screenModel)
SubtitleColors(screenModel = screenModel)
}
}
}

Expand Down

0 comments on commit ae838d5

Please sign in to comment.