Skip to content

Commit

Permalink
Remove duplicated code
Browse files Browse the repository at this point in the history
  • Loading branch information
YifePlayte committed Sep 23, 2024
1 parent 7b7e7d6 commit 0abe7cc
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,5 @@ object RemoveMIUIStrokeFromAdaptiveIcon : BaseUniversalHook() {
}
}
}

loadClass("android.app.Activity").methodFinder().filterByName("onCreate").single()
.createHook {
before {
val clazzAdaptiveIconDrawableInjector =
loadClass("android.graphics.drawable.AdaptiveIconDrawableInjector")
clazzAdaptiveIconDrawableInjector.methodFinder().filterByName("drawMiuiStroke")
.toList().createHooks {
returnConstant(null)
}
}
}
}
}

0 comments on commit 0abe7cc

Please sign in to comment.