feat: MinimizedPlayback, CreateButtonRemover

This commit is contained in:
oSumAtrIX
2022-03-21 18:25:12 +01:00
parent ce29098d8a
commit d35496b453
4 changed files with 54 additions and 4 deletions
@@ -0,0 +1,13 @@
package net.revanced.patches.layouts
import net.revanced.patcher.cache.Cache
import net.revanced.patcher.patch.Patch
import net.revanced.patcher.patch.PatchResult
import net.revanced.patcher.patch.PatchResultSuccess
class MinimizedPlayback: Patch("minimized-playback") {
override fun execute(cache: Cache): PatchResult {
cache.methods["minimized-playback-manager"].method.instructions.clear()
return PatchResultSuccess()
}
}