Skip to content

Commit

Permalink
Revert "animate copy and clear history key press"
Browse files Browse the repository at this point in the history
This reverts commit 4875952.
  • Loading branch information
codokie committed Apr 24, 2024
1 parent cac4781 commit a3b2c31
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

import static helium314.keyboard.latin.utils.ToolbarUtilsKt.*;

import android.animation.Animator;
import android.animation.AnimatorInflater;
import android.annotation.SuppressLint;
import android.app.KeyguardManager;
import android.content.ClipData;
Expand Down Expand Up @@ -664,11 +662,6 @@ public void onClick(final View view) {
updateKeys(); // update icon
view.setActivated(!view.isActivated());
}
else if (tag == ToolbarKey.CLEAR_CLIPBOARD || tag == ToolbarKey.COPY) {
Animator animator = AnimatorInflater.loadAnimator(getContext(), R.animator.button_alpha_transition);
animator.setTarget(view);
animator.start();
}
return;
}
}
Expand Down
14 changes: 0 additions & 14 deletions app/src/main/res/animator/button_alpha_transition.xml

This file was deleted.

0 comments on commit a3b2c31

Please sign in to comment.