From 0b6ba542a880a50e04fe04c9960999230629bc9c Mon Sep 17 00:00:00 2001 From: rk0n Date: Thu, 28 Feb 2019 20:15:35 +0100 Subject: Fix clear clipboard 20 times history (#465) (#487) --- app/src/main/java/com/zeapo/pwdstore/crypto/PgpActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/src/main') 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) }, -- cgit v1.2.3