aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/app/passwordstore/ui/adapters/FieldItemAdapter.kt4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/java/app/passwordstore/ui/adapters/FieldItemAdapter.kt b/app/src/main/java/app/passwordstore/ui/adapters/FieldItemAdapter.kt
index 590bb5c2..18bedfaf 100644
--- a/app/src/main/java/app/passwordstore/ui/adapters/FieldItemAdapter.kt
+++ b/app/src/main/java/app/passwordstore/ui/adapters/FieldItemAdapter.kt
@@ -5,6 +5,7 @@
package app.passwordstore.ui.adapters
+import android.graphics.Typeface
import android.text.method.PasswordTransformationMethod
import android.view.LayoutInflater
import android.view.View
@@ -82,6 +83,9 @@ class FieldItemAdapter(
} else {
null
}
+ if (fieldItem.key == FieldItem.ItemType.PASSWORD.type) {
+ typeface = Typeface.create("monospace", Typeface.NORMAL)
+ }
setOnClickListener { copyTextToClipboard(itemText.text.toString()) }
}
}