Skip to content

Liquid Glass and Apple Music touches for the Spotify iOS app. A GPL-3.0 fork of spoti.pw 0.21.1.

C

fix: Lyrics groups translation and line meanings apart from Display

My-Name-Is-Jeff40e137a0b903
diff --git a/tweak/Sources/App/Pages.m b/tweak/Sources/App/Pages.m
index 7c69980c..8c9624ac 100644
--- a/tweak/Sources/App/Pages.m
+++ b/tweak/Sources/App/Pages.m
@@ -112,10 +112,13 @@ static UIViewController *lyricsPage(void) {
NSMutableArray<SGModSection *> *sections = [NSMutableArray arrayWithObjects:SGSection(nil, @[SGWithTile(sing, @"music.mic", UIColor.systemRedColor)]),
SGLyricsSourcesSection(redesigned), nil];
if (redesigned) {
- [sections addObject:SGSection(@"Display", @[SGLyricsWordTimingRow(), SGRLyricsTextSizesRow(), SGLyricsRomanisedRow(), SGLyricsTranslationLanguageRow(), SGLyricsMeaningsRow(),
- SGSwitchRow(@"Hide the controls", @"A few seconds after the last touch, the lyrics take the whole player", SGRKeyLyricsAutoHide),
- SGSwitchRow(@"Landscape lyrics", @"Turn the phone with the lyrics open", SGRKeyLyricsLandscape),
- SGGeminiKeyRow()])];
+ [sections addObjectsFromArray:@[
+ SGSection(@"Display", @[SGRLyricsTextSizesRow(), SGLyricsWordTimingRow(), SGLyricsRomanisedRow(),
+ SGSwitchRow(@"Hide the controls", @"A few seconds after the last touch, the lyrics take the whole player", SGRKeyLyricsAutoHide),
+ SGSwitchRow(@"Landscape lyrics", @"Turn the phone with the lyrics open", SGRKeyLyricsLandscape)]),
+ SGSection(@"Translation", @[SGLyricsTranslationLanguageRow(), SGGeminiKeyRow()]),
+ SGSection(nil, @[SGLyricsMeaningsRow()]),
+ ]];
}
[sections addObject:SGSection(nil, more)];
// The redesign's page leads with its lyrics playing in the look the page sets, and that look's presets.