Add in necessary-831 and disable-mobileindicator patches

This commit is contained in:
ave 2019-01-18 19:16:21 +03:00
parent 4220a0851e
commit ed6361037e
No known key found for this signature in database
GPG key ID: 09356ABAA42C842B
4 changed files with 61 additions and 0 deletions

View file

@ -0,0 +1,19 @@
diff -crB -x dist com.discord-830/smali/com/discord/utilities/analytics/AnalyticsUtils.smali com.discord-830-patched/smali/com/discord/utilities/analytics/AnalyticsUtils.smali
*** com.discord-830/smali/com/discord/utilities/analytics/AnalyticsUtils.smali 2019-01-18 19:15:30.660919428 +0300
--- com.discord-830-patched/smali/com/discord/utilities/analytics/AnalyticsUtils.smali 2019-01-18 17:21:29.052584838 +0300
***************
*** 181,187 ****
const-string v1, "browser"
! const-string v2, "Discord Android"
invoke-static {v1, v2}, Lkotlin/q;->w(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
--- 181,187 ----
const-string v1, "browser"
! const-string v2, "Discord Client"
invoke-static {v1, v2}, Lkotlin/q;->w(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;

View file

@ -0,0 +1,20 @@
diff -crB -x dist com.discord-831/smali/com/discord/utilities/analytics/AnalyticsUtils.smali com.discord-831-patched/smali/com/discord/utilities/analytics/AnalyticsUtils.smali
*** com.discord-831/smali/com/discord/utilities/analytics/AnalyticsUtils.smali 2019-01-18 19:12:19.106603636 +0300
--- com.discord-831-patched/smali/com/discord/utilities/analytics/AnalyticsUtils.smali 2019-01-18 19:12:36.296691801 +0300
***************
*** 197,203 ****
const-string v1, "browser"
! const-string v2, "Discord Android"
.line 87
invoke-static {v1, v2}, Lkotlin/q;->w(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;
--- 197,203 ----
const-string v1, "browser"
! const-string v2, "Discord Client"
.line 87
invoke-static {v1, v2}, Lkotlin/q;->w(Ljava/lang/Object;Ljava/lang/Object;)Lkotlin/Pair;

View file

@ -0,0 +1,9 @@
## DisTok CutTheCord: Disable Mobile Indicator Patch
#### Bugs / Side effects
- CRITICAL: Push notifications are broken
#### Available and tested on:
- 8.3.0
- 8.3.1

View file

@ -0,0 +1,13 @@
diff -crB -x dist com.discord-831/res/values/public.xml com.discord-831-patched/res/values/public.xml
*** com.discord-831/res/values/public.xml 2019-01-18 19:05:56.057972374 +0300
--- com.discord-831-patched/res/values/public.xml 2019-01-18 17:26:29.150818524 +0300
***************
*** 65,71 ****
<public type="animator" name="selection_grow" id="0x7f02000a" />
<public type="animator" name="selection_shrink" id="0x7f02000b" />
<public type="animator" name="design_appbar_state_list_animator" id="0x7f020000" />
- <public type="array" name="color_picker_palette" id="0x7f030000" />
<public type="attr" name="actionBarDivider" id="0x7f040000" />
<public type="attr" name="actionBarItemBackground" id="0x7f040001" />
<public type="attr" name="actionBarPopupTheme" id="0x7f040002" />
--- 65,70 ----