forked from distok/cutthecord
Add 8.8.8 support
This was really painless lol, just had 2 issues to fix on notrack
This commit is contained in:
parent
a55a06b611
commit
4c75630e57
39 changed files with 6599 additions and 1 deletions
64
patches/nospoiler/888.patch
Normal file
64
patches/nospoiler/888.patch
Normal file
|
@ -0,0 +1,64 @@
|
|||
diff -crB from/smali/com/discord/models/domain/ModelMessageEmbed.smali to/smali/com/discord/models/domain/ModelMessageEmbed.smali
|
||||
*** from/smali/com/discord/models/domain/ModelMessageEmbed.smali 2019-04-25 10:45:12.014299791 +0300
|
||||
--- to/smali/com/discord/models/domain/ModelMessageEmbed.smali 2019-04-25 11:23:41.790828824 +0300
|
||||
***************
|
||||
*** 2007,2036 ****
|
||||
.end method
|
||||
|
||||
.method public isSpoilerAttachment()Z
|
||||
! .locals 2
|
||||
!
|
||||
! .line 140
|
||||
! invoke-virtual {p0}, Lcom/discord/models/domain/ModelMessageEmbed;->isAttachment()Z
|
||||
!
|
||||
! move-result v0
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! iget-object v0, p0, Lcom/discord/models/domain/ModelMessageEmbed;->title:Ljava/lang/String;
|
||||
!
|
||||
! const-string v1, "SPOILER_"
|
||||
!
|
||||
! invoke-virtual {v0, v1}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
||||
!
|
||||
! move-result v0
|
||||
!
|
||||
! if-eqz v0, :cond_0
|
||||
!
|
||||
! const/4 v0, 0x1
|
||||
!
|
||||
! return v0
|
||||
!
|
||||
! :cond_0
|
||||
const/4 v0, 0x0
|
||||
|
||||
return v0
|
||||
--- 2007,2013 ----
|
||||
.end method
|
||||
|
||||
.method public isSpoilerAttachment()Z
|
||||
! .locals 0
|
||||
const/4 v0, 0x0
|
||||
|
||||
return v0
|
||||
diff -crB from/smali/com/discord/utilities/textprocessing/node/SpoilerNode.smali to/smali/com/discord/utilities/textprocessing/node/SpoilerNode.smali
|
||||
*** from/smali/com/discord/utilities/textprocessing/node/SpoilerNode.smali 2019-04-25 10:45:12.547635751 +0300
|
||||
--- to/smali/com/discord/utilities/textprocessing/node/SpoilerNode.smali 2019-04-25 11:23:41.790828824 +0300
|
||||
***************
|
||||
*** 211,218 ****
|
||||
.method public final isRevealed()Z
|
||||
.locals 1
|
||||
|
||||
! .line 23
|
||||
! iget-boolean v0, p0, Lcom/discord/utilities/textprocessing/node/SpoilerNode;->isRevealed:Z
|
||||
|
||||
return v0
|
||||
.end method
|
||||
--- 211,217 ----
|
||||
.method public final isRevealed()Z
|
||||
.locals 1
|
||||
|
||||
! const/4 v0, 0x1
|
||||
|
||||
return v0
|
||||
.end method
|
|
@ -20,4 +20,5 @@ I personally won't be using it as I like to use them as CWs, but I do acknowledg
|
|||
- 8.5.6
|
||||
- 8.7.6
|
||||
- 8.8.4
|
||||
- 8.8.8
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue