Skip to content

Commit b946ebf

Browse files
crimeraampcode-com
andcommitted
fix(entity): swap username and display name method mappings in TweetEntityPatch
Amp-Thread-ID: https://ampcode.com/threads/T-7ae1f544-dc2d-4800-a535-f36bdafafddc Co-authored-by: Amp <[email protected]>
1 parent c5b612a commit b946ebf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patches/src/main/kotlin/app/crimera/patches/twitter/entity/TweetEntityPatch.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ val tweetEntityPatch =
1616
val str = match.string
1717
if (str == "Name") {
1818
val methodName = getUserNameMethodCaller.getMethodName(match.index + 1)
19-
tweetUsernameFingerprint.changeFirstString(methodName)
19+
tweetProfileNameFingerprint.changeFirstString(methodName)
2020
}
2121
if (str == "User Name") {
2222
val methodName = getUserNameMethodCaller.getMethodName(match.index + 1)
23-
tweetProfileNameFingerprint.changeFirstString(methodName)
23+
tweetUsernameFingerprint.changeFirstString(methodName)
2424
}
2525
}
2626

0 commit comments

Comments
 (0)