Skip to content

Commit

Permalink
fixed settings for expanded lyrics not showing
Browse files Browse the repository at this point in the history
- the settings now also show if  is enabled (but the button is not)

Co-authored-by: aneesh1122 <[email protected]>
  • Loading branch information
twistios and aneesh1122 committed Nov 26, 2024
1 parent ee26b32 commit 049c90e
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 049c90e

Please sign in to comment.