Liquid Glass and Apple Music touches for the Spotify iOS app. A GPL-3.0 fork of spoti.pw 0.21.1.
C
fix: remove unused findView helper
Vojtěch Škopek643b797ceb16
diff --git a/tweak/Tweak.x b/tweak/Tweak.xindex fde5ee10..2f2e3bfc 100644--- a/tweak/Tweak.x+++ b/tweak/Tweak.x@@ -32,15 +32,6 @@ static char kNowPlayingGlassKey, kTabPillKey, kTabSearchKey;#pragma mark - helpers-static UIView *findView(UIView *view, BOOL (^match)(UIView *)) {- if (match(view)) return view;- for (UIView *sub in view.subviews) {- UIView *found = findView(sub, match);- if (found) return found;- }- return nil;-}-static void forEachView(UIView *view, void (^fn)(UIView *)) {fn(view);for (UIView *sub in view.subviews) forEachView(sub, fn);