mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2025-12-04 15:49:33 +01:00
Fix show button consistency #980
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
KeePassDX(3.0.0)
|
KeePassDX(3.0.0)
|
||||||
*
|
* Fix show button consistency #980
|
||||||
|
|
||||||
KeePassDX(2.9.20)
|
KeePassDX(2.9.20)
|
||||||
* Fix search with non-latin chars #971
|
* Fix search with non-latin chars #971
|
||||||
|
|||||||
@@ -46,10 +46,10 @@ class EntryField @JvmOverloads constructor(context: Context,
|
|||||||
|
|
||||||
var hiddenProtectedValue: Boolean
|
var hiddenProtectedValue: Boolean
|
||||||
get() {
|
get() {
|
||||||
return showButtonView.isSelected
|
return !showButtonView.isSelected
|
||||||
}
|
}
|
||||||
set(value) {
|
set(value) {
|
||||||
showButtonView.isSelected = !value
|
showButtonView.isSelected = value
|
||||||
changeProtectedValueParameters()
|
changeProtectedValueParameters()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -101,7 +101,7 @@ class EntryField @JvmOverloads constructor(context: Context,
|
|||||||
} else {
|
} else {
|
||||||
setTextIsSelectable(true)
|
setTextIsSelectable(true)
|
||||||
}
|
}
|
||||||
applyHiddenStyle(isProtected && !showButtonView.isSelected)
|
applyHiddenStyle(isProtected && showButtonView.isSelected)
|
||||||
if (!isProtected) linkify()
|
if (!isProtected) linkify()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
*
|
* Fix show button consistency #980
|
||||||
@@ -1 +1 @@
|
|||||||
*
|
* Correction de la consistance du bouton de visibilité #980
|
||||||
Reference in New Issue
Block a user