aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorrk0n <rk0n@gmx.de>2019-02-28 20:15:35 +0100
committerMohamed Zenadi <zeapo@users.noreply.github.com>2019-02-28 20:15:35 +0100
commit0b6ba542a880a50e04fe04c9960999230629bc9c (patch)
treeec7bfc1483449ee6f8917160d881febdb3753651 /app/src/main/java
parent88c84e44006dca2f7dbc44ee69d72202bd0e54d0 (diff)
Fix clear clipboard 20 times history (#465) (#487)
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt
index 93fd7489..c7b1273f 100644
--- a/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt
+++ b/app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt
@@ -753,7 +753,7 @@ class PgpActivity : AppCompatActivity(), OpenPgpServiceConnection.OnBound {
clipboard.primaryClip = clip
if (settings.getBoolean("clear_clipboard_20x", false)) {
val handler = Handler()
- for (i in 0..18) {
+ for (i in 0..19) {
val count = i.toString()
handler.postDelayed(
{ clipboard.primaryClip = ClipData.newPlainText(count, count) },