Skip to content

Commit

Permalink
Optimize ShowNotificationHistoryAndLogEntry
Browse files Browse the repository at this point in the history
  • Loading branch information
YifePlayte committed Dec 25, 2024
1 parent e51bd1f commit 65ed968
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ object ShowNotificationHistoryAndLogEntry : BaseHook() {
val preferenceManager = invokeMethodBestMatch(thisObject, "getPreferenceManager")!!
val context = invokeMethodBestMatch(preferenceManager, "getContext") as Context
invokeMethodBestMatch(
thisObject, "findPreference", null, "notification_settings"
)?.objectHelper {
thisObject, "findPreference", null, "notification_managing"
)?.objectHelper()?.invokeMethodBestMatch("getParent")?.objectHelper {
invokeMethodBestMatch(
"addPreference", null, generatePreferenceScreen(
context,
Expand Down

0 comments on commit 65ed968

Please sign in to comment.