mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-08-30 22:05:19 +00:00
@@ -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()) }
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user