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: the Lock screen widget page keeps only the like and dislike buttons' flag

My-Name-Is-Jeff90ce63cbac02
diff --git a/docs/tweaks.md b/docs/tweaks.md
index 648b73ab..2099a174 100644
--- a/docs/tweaks.md
+++ b/docs/tweaks.md
@@ -429,7 +429,8 @@ follows the head through AirPods, or sways gently without them and holds still u
saying which, then the switch), the voice model's download, Runs on (GPU, GPU
and Neural Engine, Neural Engine) and Ignore heat warnings, all applying straight away. Player: Gestures, AirPods gestures, Blocked
artists (with the count on the row) and Lock screen widget (Moving artwork, Lyrics or Every song, and the
-lyrics' style, Still or Animated), which work with either look;
+lyrics' style, Still or Animated, and Spotify's like and dislike buttons' flag; its podcast, audiobook and artwork
+flags stay in All flags), which work with either look;
in the native look also Now playing bar (its device button and its flags), Queue & devices, and
Spotify's own player screen (artwork background, glass header buttons, Disable Canvas and the sheet,
header, slider and sticky header flags, the cards under the player and the lyrics preview and player
diff --git a/tweak/Sources/Shared/Player/PlayerSettings.m b/tweak/Sources/Shared/Player/PlayerSettings.m
index 577408de..0adf4ea3 100644
--- a/tweak/Sources/Shared/Player/PlayerSettings.m
+++ b/tweak/Sources/Shared/Player/PlayerSettings.m
@@ -4,20 +4,14 @@
#import "PlayerSettings.h"
#import "Shared/AnimatedArtwork/AnimatedArtwork.h"
+// Like and dislike is the one lock screen control a song gets. Spotify's flags for podcasts, audiobooks and its
+// own lock screen artwork stay on the All flags page: the artwork section above is the mod's.
UIViewController *SGLockScreenWidgetPage(void) {
NSArray *motion = SGLockScreenMotionRows();
NSArray<SGModSection *> *mod = motion.count ? @[SGSection(@"Lock screen artwork", motion)] : @[];
return [[SGModPage alloc] initWithTitle:@"Lock screen widget" intro:SGRestartNote sections:[mod arrayByAddingObjectsFromArray:@[
SGSection(@"Controls", @[
SGFlagRow(@"Like and dislike buttons", @"ios-feature-lockscreen.like_dislike_enabled"),
- SGFlagRow(@"Skip button on podcasts", @"ios-feature-lockscreen.skip_button_on_podcasts"),
- SGFlagRow(@"Chapter skip controls", @"ios-feature-lockscreen.enable_chapter_skip_controls"),
- SGFlagRow(@"Burst skip", @"ios-feature-lockscreen.burst_skip_enabled"),
- ]),
- SGSection(@"Artwork", @[
- SGFlagRow(@"Animated artwork", @"ios-feature-lockscreen.animated_artwork_enabled"),
- SGFlagRow(@"Video artwork", @"ios-feature-lockscreen.vit_artwork_enabled"),
- SGFlagRow(@"Companion content", @"ios-feature-lockscreen.companion_content_enabled"),
]),
]] footer:nil];
}