Skip to content

Commit

Permalink
Merge pull request #4657 from twistios/fix_expanded_lyrics_settings
Browse files Browse the repository at this point in the history
Fixed settings for expanded lyrics not showing
  • Loading branch information
fast4x authored Nov 26, 2024
2 parents e94b2c2 + 049c90e commit eab8a01
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ import it.fast4x.rimusic.utils.disablePlayerHorizontalSwipeKey
import it.fast4x.rimusic.utils.disableScrollingTextKey
import it.fast4x.rimusic.utils.effectRotationKey
import it.fast4x.rimusic.utils.expandedlyricsKey
import it.fast4x.rimusic.utils.expandedplayerKey
import it.fast4x.rimusic.utils.expandedplayertoggleKey
import it.fast4x.rimusic.utils.fadingedgeKey
import it.fast4x.rimusic.utils.iconLikeTypeKey
Expand Down Expand Up @@ -337,6 +338,7 @@ fun AppearanceSettings(
var transparentbar by rememberPreference(transparentbarKey, true)
var blackgradient by rememberPreference(blackgradientKey, false)
var showlyricsthumbnail by rememberPreference(showlyricsthumbnailKey, false)
var expandedplayer by rememberPreference(expandedplayerKey, false)
var playerPlayButtonType by rememberPreference(
playerPlayButtonTypeKey,
PlayerPlayButtonType.Disabled
Expand Down Expand Up @@ -1495,7 +1497,7 @@ fun AppearanceSettings(
onCheckedChange = { showButtonPlayerMenu = it }
)

if (!showlyricsthumbnail && (expandedplayertoggle || expandedlyrics)) {
if (!showlyricsthumbnail && (expandedplayertoggle || expandedplayer || expandedlyrics)) {
SettingsGroupSpacer()
SettingsEntryGroupText(title = stringResource(R.string.full_screen_lyrics_components))

Expand Down

0 comments on commit eab8a01

Please sign in to comment.