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)
|
||||
*
|
||||
* Fix show button consistency #980
|
||||
|
||||
KeePassDX(2.9.20)
|
||||
* Fix search with non-latin chars #971
|
||||
|
||||
@@ -46,10 +46,10 @@ class EntryField @JvmOverloads constructor(context: Context,
|
||||
|
||||
var hiddenProtectedValue: Boolean
|
||||
get() {
|
||||
return showButtonView.isSelected
|
||||
return !showButtonView.isSelected
|
||||
}
|
||||
set(value) {
|
||||
showButtonView.isSelected = !value
|
||||
showButtonView.isSelected = value
|
||||
changeProtectedValueParameters()
|
||||
}
|
||||
|
||||
@@ -101,7 +101,7 @@ class EntryField @JvmOverloads constructor(context: Context,
|
||||
} else {
|
||||
setTextIsSelectable(true)
|
||||
}
|
||||
applyHiddenStyle(isProtected && !showButtonView.isSelected)
|
||||
applyHiddenStyle(isProtected && showButtonView.isSelected)
|
||||
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