Change biometric views

This commit is contained in:
J-Jamet committed 2021-11-02 17:10:06 +01:00
1 parent 8be6874651
commit 45ae600289
5 files changed
+14 -9

No files matched your search

@@ -104,10 +104,12 @@ class AdvancedUnlockInfoView @JvmOverloads constructor(context: Context,
return unlockMessageTextView?.text?.toString() ?: ""
}
set(value) {
if (value == null || value.isEmpty())
if (value == null || value.isEmpty()) {
unlockMessageTextView?.visibility = GONE
else
} else {
unlockMessageTextView?.visibility = VISIBLE
stopIconViewAnimation()
}
unlockMessageTextView?.text = value ?: ""
}