mirror of
https://github.com/android-password-store/Android-Password-Store
synced 2025-09-01 06:45:19 +00:00
@@ -5,6 +5,7 @@
|
|||||||
|
|
||||||
package app.passwordstore.ui.adapters
|
package app.passwordstore.ui.adapters
|
||||||
|
|
||||||
|
import android.graphics.Typeface
|
||||||
import android.text.method.PasswordTransformationMethod
|
import android.text.method.PasswordTransformationMethod
|
||||||
import android.view.LayoutInflater
|
import android.view.LayoutInflater
|
||||||
import android.view.View
|
import android.view.View
|
||||||
@@ -82,6 +83,9 @@ class FieldItemAdapter(
|
|||||||
} else {
|
} else {
|
||||||
null
|
null
|
||||||
}
|
}
|
||||||
|
if (fieldItem.key == FieldItem.ItemType.PASSWORD.type) {
|
||||||
|
typeface = Typeface.create("monospace", Typeface.NORMAL)
|
||||||
|
}
|
||||||
setOnClickListener { copyTextToClipboard(itemText.text.toString()) }
|
setOnClickListener { copyTextToClipboard(itemText.text.toString()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user