fix: remove newline

This commit is contained in:
oSumAtrIX 2023-08-03 16:39:47 +02:00
parent 343f186ef7
commit 545388b3b2
No known key found for this signature in database
GPG Key ID: A9B3094ACDB604B4

View File

@ -60,7 +60,7 @@ class SpoofClientPatch : AbstractSpoofClientPatch(
override fun List<MethodFingerprintResult>.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,