Add pureevil patches
This commit is contained in:
parent
4c498e14a1
commit
8929ff44bc
2 changed files with 36 additions and 0 deletions
26
patches/pureevil/832.diff
Normal file
26
patches/pureevil/832.diff
Normal file
|
@ -0,0 +1,26 @@
|
|||
diff -crB -x dist -x build com.discord-832-base/smali/com/discord/widgets/settings/WidgetSettingsAppearance$onViewBoundOrOnResume$1.smali com.discord-832/smali/com/discord/widgets/settings/WidgetSettingsAppearance$onViewBoundOrOnResume$1.smali
|
||||
*** com.discord-832-base/smali/com/discord/widgets/settings/WidgetSettingsAppearance$onViewBoundOrOnResume$1.smali 2019-01-19 04:41:50.846430038 +0300
|
||||
--- com.discord-832/smali/com/discord/widgets/settings/WidgetSettingsAppearance$onViewBoundOrOnResume$1.smali 2019-01-20 02:28:45.741380899 +0300
|
||||
***************
|
||||
*** 71,83 ****
|
||||
|
||||
check-cast v0, Landroid/view/View;
|
||||
|
||||
! const-string v1, "it"
|
||||
!
|
||||
! invoke-static {p1, v1}, Lkotlin/jvm/internal/j;->g(Ljava/lang/Object;Ljava/lang/String;)V
|
||||
!
|
||||
! invoke-virtual {p1}, Lcom/discord/models/domain/ModelUser;->isStaff()Z
|
||||
!
|
||||
! move-result p1
|
||||
|
||||
invoke-static {v0, p1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy(Landroid/view/View;Z)V
|
||||
|
||||
--- 71,77 ----
|
||||
|
||||
check-cast v0, Landroid/view/View;
|
||||
|
||||
! const/4 p1, 0x1
|
||||
|
||||
invoke-static {v0, p1}, Lcom/discord/utilities/view/extensions/ViewExtensions;->setVisibilityBy(Landroid/view/View;Z)V
|
||||
|
10
patches/pureevil/README.md
Normal file
10
patches/pureevil/README.md
Normal file
|
@ -0,0 +1,10 @@
|
|||
## DisTok CutTheCord: "Pure Evil" Theme Patch
|
||||
|
||||
This patch enables the secret AMOLED theme (which is shit).
|
||||
|
||||
#### Bugs / Side effects
|
||||
- Discord banned people for using experiments before, which is why this patch exists. It doesn't enable everything developer related, just AMOLED theme. Still, don't show stuff this publicly.
|
||||
|
||||
#### Available and tested on:
|
||||
- 8.3.2
|
||||
|
Reference in a new issue