fix typo on new string, fix compiler error
This commit is contained in:
@@ -167,7 +167,7 @@ namespace keepass2android
|
||||
btn.PostDelayed(() =>
|
||||
{
|
||||
btn.SetImageResource(Resource.Drawable.ic_fp_40px);
|
||||
btn.Tag = GetString(Resource.String.fingerprint_unlock_hint);
|
||||
|
||||
}, 1300);
|
||||
Toast.MakeText(this, message, ToastLength.Long).Show();
|
||||
}
|
||||
@@ -246,7 +246,7 @@ namespace keepass2android
|
||||
FindViewById<ImageButton>(Resource.Id.fingerprintbtn).Visibility = ViewStates.Gone;
|
||||
return false;
|
||||
}
|
||||
btn.Tag = GetString(Resource.String.fingerprint_unlock_hint);
|
||||
|
||||
|
||||
if (_biometryIdentifier.Init())
|
||||
{
|
||||
@@ -345,7 +345,7 @@ namespace keepass2android
|
||||
var btn = FindViewById<ImageButton>(Resource.Id.fingerprintbtn);
|
||||
btn.Click += (sender, args) =>
|
||||
{
|
||||
if (_biometryIdentifier.HasUserInterface)
|
||||
if (_biometryIdentifier.HasUserInterface|| string.IsNullOrEmpty((string)btn.Tag) )
|
||||
{
|
||||
_biometryIdentifier.StartListening(this);
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
<string name="fingerprint_success">Biometric authentication succeeded</string>
|
||||
<string name="fingerprint_os_error">Biometric Unlock requires Android 6.0 or later.</string>
|
||||
<string name="fingerprint_hardware_error">No biometric hardware detected.</string>
|
||||
<string name="fingerprint_no_enrolled">You have not configure biometric authentication on this device. Please go to system settings first.</string>
|
||||
<string name="fingerprint_no_enrolled">You have not configured biometric authentication on this device. Please go to system settings first.</string>
|
||||
<string name="disable_fingerprint_unlock">Disable Biometric Unlock</string>
|
||||
<string name="enable_fingerprint_unlock">Enable full Biometric Unlock</string>
|
||||
<string name="enable_fingerprint_quickunlock">Enable Biometric Unlock for QuickUnlock</string>
|
||||
|
||||
Reference in New Issue
Block a user