Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
yujincheng08 committed Mar 20, 2021
1 parent c1d2727 commit 985a513
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/me/iacn/biliroaming/SettingDialog.kt
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class SettingDialog(context: Context) : AlertDialog.Builder(context) {
}
"android" -> {
if (versionCode !in 6000000 until 6120000) supportDark = false
if (versionCode < 6180000) supportCommentFloor = false
if (versionCode < 6180000) supportCommentFloor = true
}
}
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O)
Expand Down
2 changes: 2 additions & 0 deletions app/src/main/java/me/iacn/biliroaming/hook/JsonHook.kt
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,8 @@ class JsonHook(classLoader: ClassLoader) : BaseHook(classLoader) {
}
}
accountMineClass.findFieldOrNull("vipSectionRight")?.set(result, null)
} else if(sPrefs.getBoolean("custom_theme", false)) {
result.setObjectField("garbEntrance", null)
}
splashClass -> if (sPrefs.getBoolean("purify_splash", false) &&
sPrefs.getBoolean("hidden", false)) {
Expand Down

0 comments on commit 985a513

Please sign in to comment.