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 lyrics harness runs the Gemini item through its handler
My-Name-Is-Jeffb44a726f7132
diff --git a/harness/lyrics/main.m b/harness/lyrics/main.mindex ab51185f..e8c97070 100644--- a/harness/lyrics/main.m+++ b/harness/lyrics/main.m@@ -511,7 +511,8 @@ static void runChecks(SGRKaraokeView *karaoke, UIView *host) {if ([item.title isEqualToString:@"Translate with Gemini"]) gemini = (UIAction *)item;}expect(gemini.subtitle.length > 0, [NSString stringWithFormat:@"the Gemini item says: %@", gemini.subtitle]);- ((void (*)(id, SEL))objc_msgSend)(karaoke, NSSelectorFromString(@"translateWithGemini"));+ // The item's own handler, as a tap runs it: UIAction has no public way to run one.+ ((UIActionHandler)[gemini valueForKey:@"handler"])(gemini);BOOL offered = NO;for (UIMenuElement *item in extras.menu.children) offered |= [item.title isEqualToString:@"Translate with Gemini"];expect(extras.configuration.showsActivityIndicator && !offered, @"while Gemini works the button spins and the item is gone");