parent
6fe80fb4b3
commit
3a63334815
1 changed files with 4 additions and 0 deletions
|
@ -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()) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue