Liquid Glass and Apple Music touches for the Spotify iOS app. A GPL-3.0 fork of spoti.pw 0.21.1.
C
// The activity's and the sleep timer's side of the page (LiveActivity.x and SleepTimer.m in the tweak): the switch is
// logged, the fade's names are the tweak's.
#import "Core/SGCore.h"
#import "Shared/LiveActivity/LiveActivity.h"
#import "Shared/Player/SleepTimer.h"
void SGSetLiveActivityEnabled(BOOL on) {
NSLog(@"[harness] the Live Activity is switched %@", on ? @"on" : @"off");
}
NSArray<NSString *> *SGSleepTimerFadeNames(void) {
return @[@"Off", @"10 s", @"30 s", @"1 minute", @"2 minutes"];
}
NSInteger SGSleepTimerFadeChoice(void) {
return SGInt(SGKeySleepTimerFade, 1);
}