Liquid Glass and Apple Music touches for the Spotify iOS app. A GPL-3.0 fork of spoti.pw 0.21.1.
C
#import "Settings/SGModPage.h"
#import "Privacy.h"
SGModSection *SGPrivacySection(void) {
return SGSection(@"Privacy", @[
SGWithSymbol(SGSwitchRow(@"Block telemetry", @"Spotify's own events still go out, since Recents is built from them", SGKeyBlockTelemetry), @"antenna.radiowaves.left.and.right.slash"),
SGWithSymbol(SGSwitchRow(@"Clean shared links", @"Takes the tracking (si, utm) off the links you copy or share", SGKeyCleanLinks), @"link"),
]);
}
SGModSection *SGPrivacyCountersSection(void) {
NSMutableArray<SGModRow *> *counts = [NSMutableArray array];
for (NSString *label in SGBlockedLabels()) {
[counts addObject:SGStatRow(label, ^NSString *{
return @(SGBlockedCount(label)).stringValue;
})];
}
[counts addObject:SGStatRow(@"Total", ^NSString *{
return @(SGBlockedCount(nil)).stringValue;
})];
[counts addObject:SGActionRow(@"Reset the telemetry counters", nil, ^{ SGResetBlocked(); })];
return SGSection(@"Telemetry blocked so far", counts);
}