File tree Expand file tree Collapse file tree 3 files changed +29
-0
lines changed
src/main/kotlin/app/revanced/patches/letterboxd/unlock/unlockAppIcons Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -352,6 +352,10 @@ public final class app/revanced/patches/letterboxd/ads/HideAdsPatchKt {
352352 public static final fun getHideAdsPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
353353}
354354
355+ public final class app/revanced/patches/letterboxd/unlock/unlockAppIcons/UnlockAppIconsPatchKt {
356+ public static final fun getUnlockAppIconsPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
357+ }
358+
355359public final class app/revanced/patches/lightroom/misc/login/DisableMandatoryLoginPatchKt {
356360 public static final fun getDisableMandatoryLoginPatch ()Lapp/revanced/patcher/patch/BytecodePatch;
357361}
Original file line number Diff line number Diff line change 1+ package app.revanced.patches.letterboxd.unlock.unlockAppIcons
2+
3+ import app.revanced.patcher.fingerprint
4+
5+ internal val getCanChangeAppIconFingerprint = fingerprint {
6+ custom { method, classDef ->
7+ method.name == " getCanChangeAppIcon" && classDef.type.endsWith(" SettingsAppIconFragment;" )
8+ }
9+ }
Original file line number Diff line number Diff line change 1+
2+ package app.revanced.patches.letterboxd.unlock.unlockAppIcons
3+
4+ import app.revanced.patcher.patch.bytecodePatch
5+ import app.revanced.util.returnEarly
6+
7+ @Suppress(" unused" )
8+ val unlockAppIconsPatch = bytecodePatch(
9+ name = " Unlock app icons" ,
10+ ) {
11+ compatibleWith(" com.letterboxd.letterboxd" )
12+
13+ execute {
14+ getCanChangeAppIconFingerprint.method.returnEarly(true )
15+ }
16+ }
You can’t perform that action at this time.
0 commit comments