mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
fix: searchable selection
This commit is contained in:
@@ -4,6 +4,7 @@ KeePassDX(3.4.5)
|
||||
* New clipboard manager #1343
|
||||
* Keep screen on by default when viewing an entry
|
||||
* Change the order of the search filters
|
||||
* Fix searchable selection
|
||||
|
||||
KeePassDX(3.4.4)
|
||||
* Fix crash in New Android 13 #1321
|
||||
|
||||
@@ -52,9 +52,16 @@ class InheritedCompletionView @JvmOverloads constructor(
|
||||
}
|
||||
|
||||
init {
|
||||
setAdapter(adapter)
|
||||
isFocusable = false
|
||||
isFocusableInTouchMode = false
|
||||
//hardwareKeyCompletion.isEnabled = false
|
||||
isCursorVisible = false
|
||||
setTextIsSelectable(false)
|
||||
inputType = InputType.TYPE_NULL
|
||||
adapter.filter.filter(null)
|
||||
setAdapter(adapter)
|
||||
setOnClickListener {
|
||||
showDropDown()
|
||||
}
|
||||
}
|
||||
|
||||
fun getValue(): Boolean? {
|
||||
@@ -63,7 +70,6 @@ class InheritedCompletionView @JvmOverloads constructor(
|
||||
|
||||
fun setValue(inherited: Boolean?) {
|
||||
setText(context.getString(InheritedStatus.getStatusFromValue(inherited).stringId))
|
||||
adapter.filter.filter(null)
|
||||
}
|
||||
|
||||
private enum class InheritedStatus(val stringId: Int, val value: Boolean?) {
|
||||
|
||||
@@ -3,3 +3,4 @@
|
||||
* New clipboard manager #1343
|
||||
* Keep screen on by default when viewing an entry
|
||||
* Change the order of the search filters
|
||||
* Fix searchable selection
|
||||
|
||||
@@ -3,3 +3,4 @@
|
||||
* Nouveau gestionnaire de presse-papier #1343
|
||||
* Garde l'écran allumé par défaut lors d'une visualisation d'entrée
|
||||
* Changement d'ordre des filtres de recherche
|
||||
* Correction de la selection cherchable
|
||||
|
||||
Reference in New Issue
Block a user