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

chore: remove problematic flag settings

Vojtěch Škopek9189d107a54e
diff --git a/tweak/Sources/Features/Flags/FlagPages.m b/tweak/Sources/Features/Flags/FlagPages.m
index c399a18d..cc022c48 100644
--- a/tweak/Sources/Features/Flags/FlagPages.m
+++ b/tweak/Sources/Features/Flags/FlagPages.m
@@ -18,28 +18,11 @@ UIViewController *SGLockScreenSettingsPage(void) {
UIViewController *SGPlaybackSettingsPage(void) {
return [[SGModPage alloc] initWithTitle:@"Playback" intro:SGRestartNote sections:@[
- SGSection(@"Speed", @[
- SGFlagRow(@"Speed control for music", @"ios-playbackcontrol-playbackspeed-impl.enable_playback_speed_for_music"),
- SGFlagRow(@"Trim silence", @"ios-playbackcontrol-playbackspeed-impl.enable_trim_silence"),
- SGFlagRow(@"Speed shortcuts", @"ios-playbackcontrol-playbackspeed-impl.enable_speed_shortcuts_v2"),
- ]),
SGSection(@"Queue", @[
- SGFlagRow(@"Swipe a row to play next", @"ios-feature-queue.is_swipe_to_play_next_enabled"),
SGFlagRow(@"Play next in the context menu", @"ios-feature-queue.is_play_next_context_menu_enabled"),
- SGFlagRow(@"Reshuffle", @"ios-feature-queue.is_reshuffle_enabled"),
- SGFlagRow(@"Peek the queue when adding", @"ios-feature-queue.is_queue_peek_on_add_enabled"),
]),
SGSection(@"Player", @[
- SGFlagRow(@"Pinch to zoom", @"ios-feature-nowplaying-fullscreen.pinch_to_zoom"),
- SGFlagRow(@"Audio settings in the menu", @"ios-nowplaying-contextmenusettings-impl.audio_settings"),
- SGFlagRow(@"Playback settings in the menu", @"ios-nowplaying-contextmenusettings-impl.playback_settings"),
- SGFlagRow(@"Video settings in the menu", @"ios-nowplaying-contextmenusettings-impl.video_settings"),
SGFlagRow(@"New progress slider", @"ios-feature-encoreexperiments.new_npv_slider_enabled"),
- SGFlagRow(@"Tilt the cover art", @"ios-creativeworkcommons-cover-art-tilt-configuration-kit.cover_art_tilt_enabled"),
- SGFlagRow(@"Tilt it on album and playlist pages", @"ios-creativeworkcommons-cover-art-tilt-configuration-kit.album_playlist_and_podcast_pages_enabled"),
- SGFlagRow(@"Lyrics over Canvas", @"ios-feature-canvas.lyrics_on_canvas_enabled"),
- SGFlagRow(@"Mixing transitions", @"ios-feature-canvas.mixing_transition_enabled"),
- SGFlagRow(@"Picture in picture in the app", @"ios-feature-picture-in-picture.picture_in_picture_in_app"),
SGFlagRow(@"Connect as a bottom sheet", @"ios-feature-nowplaying-elements.enable_connect_bottom_sheet"),
SGFlagRow(@"Connect sheet from the video switcher", @"ios-playbackcontrol-audiovideoswitcher-impl.enable_connect_bottom_sheet"),
]),
@@ -49,10 +32,6 @@ UIViewController *SGPlaybackSettingsPage(void) {
SGFlagRow(@"Queue badge", @"ios-feature-nowplayingbar.queue_badge"),
SGFlagRow(@"Two lines of track info", @"ios-feature-nowplayingbar.two_lines_information_unit"),
]),
- SGSection(@"Spotify's settings", @[
- SGFlagRow(@"Offline listening toggle", @"ios-feature-settings.enable_offline_listening_toggle"),
- SGFlagRow(@"Gapless in Playback settings", @"ios-feature-settings.use_playback_settings_gapless"),
- ]),
] footer:nil];
}
@@ -93,8 +72,6 @@ UIViewController *SGUnreleasedSettingsPage(void) {
return [[SGModPage alloc] initWithTitle:@"Unreleased" intro:SGRestartNote sections:@[
SGSection(@"Player", @[
SGFlagRow(@"Snake on the cover art", @"ios-feature-cover-art-snake.enabled"),
- SGFlagRow(@"SongDNA", @"ios-songdna-featureproperties.is_song_dna_enabled"),
- SGFlagRow(@"SongDNA covers playlist", @"ios-songdna-featureproperties.enable_go_to_covers_playlist"),
]),
SGSection(@"Podcast comments", @[
SGFlagRow(@"Comments card", @"ios-feature-comments.enable_comments_card"),
diff --git a/tweak/Sources/Features/NowPlaying/NowPlayingSettings.m b/tweak/Sources/Features/NowPlaying/NowPlayingSettings.m
index 014b8d98..4c7c09d8 100644
--- a/tweak/Sources/Features/NowPlaying/NowPlayingSettings.m
+++ b/tweak/Sources/Features/NowPlaying/NowPlayingSettings.m
@@ -8,12 +8,10 @@ static UIViewController *lyricsPage(void) {
SGFlagRow(@"Translations in the player", @"ios-feature-lyrics.enable_lyrics_multilanguage_npv"),
SGFlagRow(@"Translations full screen", @"ios-feature-lyrics.enable_lyrics_multilanguage_fullscreen"),
SGFlagRow(@"Keep lyrics offline", @"ios-feature-lyrics.lyrics_offline_enabled"),
- SGFlagRow(@"Vocal removal", @"ios-feature-lyrics.enable_vocal_removal"),
SGFlagRow(@"Lyrics toggle in the context menu", @"ios-feature-lyrics.lyrics_context_menu_toggle_enabled"),
SGFlagRow(@"Dynamic colours", @"ios-feature-lyrics.enable_dynamic_colors"),
SGFlagRow(@"Centre a single line", @"ios-feature-lyrics.is_single_line_centering_enabled"),
SGFlagRow(@"Full screen on track change", @"ios-feature-lyrics.enable_fullscreen_track_change"),
- SGFlagRow(@"Edit lyrics", @"ios-feature-lyrics.lyrics_edit_enabled"),
]),
] footer:nil];
}
@@ -32,16 +30,10 @@ UIViewController *SGNowPlayingSettingsPage(void) {
SGFlagRow(@"Queue flip transition", @"ios-feature-nowplaying.queue_flip_transition_enabled"),
SGFlagRow(@"Mini player transition animations", @"ios-feature-nowplaying.miniplayer_transition_animations"),
SGFlagRow(@"Bar to cover art animation", @"ios-feature-nowplaying.bartocoverart_animation_enabled"),
- SGFlagRow(@"White heart button", @"ios-feature-nowplaying.white_heart_button_in_nowplaying_screen"),
SGFlagRow(@"Expand the sticky header on tap", @"ios-feature-nowplaying.expand_sticky_header_on_tap"),
- SGFlagRow(@"Cover art in the header", @"ios-feature-nowplaying.show_header_context_cover_art"),
SGFlagRow(@"Redesigned header with context menu", @"ios-feature-nowplaying.new_redesign_header_with_context_menu_enabled"),
- SGFlagRow(@"Picture in picture", @"ios-feature-nowplaying.picture_in_picture"),
SGFlagRow(@"Video in the mini player", @"ios-feature-nowplaying.video_in_miniplayer"),
]),
- SGSection(@"Lock screen", @[
- SGFlagRow(@"Like and dislike buttons", @"ios-feature-lockscreen.like_dislike_enabled"),
- ]),
SGSection(@"Hide buttons", @[
SGHideRow(@"Shuffle", @"Left of the playback controls", SGHideShuffle),
SGHideRow(@"Repeat", @"Right of the playback controls", SGHideRepeat),