diff --git a/patches/disable-mobileindicator/830.patch b/patches/disable-mobileindicator/830.patch new file mode 100644 index 000000000..873069f7c --- /dev/null +++ b/patches/disable-mobileindicator/830.patch @@ -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; diff --git a/patches/disable-mobileindicator/831.patch b/patches/disable-mobileindicator/831.patch new file mode 100644 index 000000000..7215ba8ec --- /dev/null +++ b/patches/disable-mobileindicator/831.patch @@ -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; diff --git a/patches/disable-mobileindicator/README.md b/patches/disable-mobileindicator/README.md new file mode 100644 index 000000000..5d945ae95 --- /dev/null +++ b/patches/disable-mobileindicator/README.md @@ -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 + diff --git a/patches/necessary/831.patch b/patches/necessary/831.patch new file mode 100644 index 000000000..35bc99638 --- /dev/null +++ b/patches/necessary/831.patch @@ -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 **** + + + +- + + + +--- 65,70 ----