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
1.1 KB
Raw Blame
// The pages of Mod Settings that bring the layers together: what each look offers is its own
// (Shared/, Native/, Redesigned/), and which of it a page shows is decided here, from the stored
// Redesigned UI switch, so a page opened after flipping it shows what the restart will bring.
#import <UIKit/UIKit.h>

@class SGModRow;

// Redesigned UI, the one switch between the two looks, and what its ⓘ reads out.
void SGSetRedesignedUI(BOOL on);
extern NSString *const SGRedesignedUIInfo;
// Below iOS 26: what turning the redesign on risks there, for the switch's alert and the tour.
NSString *SGRedesignUntestedWarning(void);

// Redesigned UI as a glowing switch with its ⓘ, offering to restart Spotify when flipped; below iOS 26 it
// warns first. It leads Mod Settings' main page.
SGModRow *SGRedesignedUIRow(void);
UIViewController *SGAppearancePage(void);   // the stored look's accent and AMOLED, the font and the app icon
UIViewController *SGPlayerSettingsPage(void);
UIViewController *SGLyricsSettingsPage(void);   // with Sing (Shared/Sing) on it
UIViewController *SGNavbarPage(void);       // the tab editor of whichever look is stored