mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-06-09 08:07:46 +00:00
Prevent copying when revealing code
This commit is contained in:
parent
0046e8827e
commit
8c1cc9a475
1 changed files with 3 additions and 3 deletions
|
@ -556,11 +556,11 @@ public class EntryAdapter extends RecyclerView.Adapter<RecyclerView.ViewHolder>
|
||||||
if (_highlightEntry || _tempHighlightEntry || _tapToReveal) {
|
if (_highlightEntry || _tempHighlightEntry || _tapToReveal) {
|
||||||
if (_focusedEntry == entry) {
|
if (_focusedEntry == entry) {
|
||||||
resetFocus();
|
resetFocus();
|
||||||
|
|
||||||
// Prevent copying when singletap is set and focus is reset
|
|
||||||
handled = _copyBehavior == CopyBehavior.SINGLETAP;
|
|
||||||
} else {
|
} else {
|
||||||
focusEntry(entry, _tapToRevealTime);
|
focusEntry(entry, _tapToRevealTime);
|
||||||
|
|
||||||
|
// Prevent copying when singletap is set and the entry is being revealed
|
||||||
|
handled = _copyBehavior == CopyBehavior.SINGLETAP && _tapToReveal;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue