mirror of
https://github.com/android-password-store/Android-Password-Store.git
synced 2025-09-07 16:09:38 +02:00
parent
6fe80fb4b3
commit
3a63334815
|
@ -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()) }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue