Skip to content

Commit

Permalink
fix: remove newline
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Aug 3, 2023
1 parent 343f186 commit 545388b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 545388b

Please sign in to comment.