Skip to content
This repository has been archived by the owner on Oct 26, 2024. It is now read-only.

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
LisoUseInAIKyrios committed Nov 13, 2023
1 parent 070c4f9 commit 4735846
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -196,16 +196,14 @@ public static void setOldUILayoutDislikes(int buttonViewResourceId, @Nullable Te
*/
@NonNull
public static CharSequence onLithoTextLoaded(@NonNull Object conversionContext,
AtomicReference<CharSequence> textRef,
@Nullable AtomicReference<CharSequence> textRef,
@NonNull CharSequence original) {
try {
if (!SettingsEnum.RYD_ENABLED.getBoolean()) {
return original;
}

String conversionContextString = conversionContext.toString();
// Remove this log statement after the a/b new litho dislikes is fixed.
LogHelper.printDebug(() -> "conversionContext: " + conversionContextString);

final CharSequence replacement;
if (conversionContextString.contains("|segmented_like_dislike_button.eml|")) {
Expand Down

0 comments on commit 4735846

Please sign in to comment.