aboutsummaryrefslogtreecommitdiffstats
path: root/app/src/main/java/com/zeapo/pwdstore/autofill
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2019-07-30 05:58:59 +0530
committerHarsh Shandilya <msfjarvis@gmail.com>2019-07-30 05:59:10 +0530
commit80c397ef7b7b7eab19158a59cb438fbb958a9657 (patch)
tree8553097cdaad9d70d1121f21ef34021044c6d867 /app/src/main/java/com/zeapo/pwdstore/autofill
parentf8fae4508ea858b51d11aa615fa71c12aef71db4 (diff)
downloadHardenedPass-80c397ef7b7b7eab19158a59cb438fbb958a9657.tar.gz
HardenedPass-80c397ef7b7b7eab19158a59cb438fbb958a9657.zip
treewide: Reformat
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
Diffstat (limited to 'app/src/main/java/com/zeapo/pwdstore/autofill')
-rw-r--r--app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.kt b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.kt
index 3e939b26..db6c3ed8 100644
--- a/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.kt
+++ b/app/src/main/java/com/zeapo/pwdstore/autofill/AutofillFragment.kt
@@ -71,7 +71,7 @@ class AutofillFragment : DialogFragment() {
}
(view.findViewById<View>(R.id.matched) as ListView).adapter = adapter
// delete items by clicking them
- (view.findViewById<View>(R.id.matched) as ListView).setOnItemClickListener { _, _, position, _ -> adapter!!.remove(adapter!!.getItem(position)) }
+ (view.findViewById<View>(R.id.matched) as ListView).onItemClickListener = { _, _, position, _ -> adapter!!.remove(adapter!!.getItem(position)) }
// set the existing preference, if any
val prefs: SharedPreferences = if (!isWeb) {