From 545388b3b21cabb485c4d2025756c48984548d6b Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Thu, 3 Aug 2023 16:39:47 +0200 Subject: [PATCH] fix: remove newline --- .../customclients/redditisfun/api/patch/SpoofClientPatch.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/app/revanced/patches/reddit/customclients/redditisfun/api/patch/SpoofClientPatch.kt b/src/main/kotlin/app/revanced/patches/reddit/customclients/redditisfun/api/patch/SpoofClientPatch.kt index 79ce20445..66702d8f7 100644 --- a/src/main/kotlin/app/revanced/patches/reddit/customclients/redditisfun/api/patch/SpoofClientPatch.kt +++ b/src/main/kotlin/app/revanced/patches/reddit/customclients/redditisfun/api/patch/SpoofClientPatch.kt @@ -60,7 +60,7 @@ class SpoofClientPatch : AbstractSpoofClientPatch( override fun List.patchUserAgent(context: BytecodeContext): PatchResult { // Use a random user agent. val randomName = (0..100000).random() - val userAgent = "android:app.revanced.$randomName:v1.0.0 (by /u/revanced)\n" + val userAgent = "android:app.revanced.$randomName:v1.0.0 (by /u/revanced)" first().mutableMethod.addInstructions( 0,