Fixed wrong indentation in files.

This commit is contained in:
Marco Dalla Libera
2019-08-12 15:31:45 +02:00
parent ef2123422c
commit 0970f0659a
2 changed files with 21 additions and 22 deletions

View File

@@ -907,25 +907,25 @@ namespace keepass2android
if (_fingerprintDec != null)
{
b.SetPositiveButton(Android.Resource.String.Ok, (o, eventArgs) => ((Dialog)o).Dismiss());
b.SetNegativeButton(Resource.String.disable_sensor, (senderAlert, alertArgs) =>
{
btn.SetImageResource(Resource.Drawable.ic_fingerprint_error);
_fingerprintDec?.StopListening();
_fingerprintDec = null;
});
}
else
{
b.SetPositiveButton(Android.Resource.String.Ok, (o, eventArgs) => ((Dialog)o).Dismiss());
b.SetNegativeButton(Resource.String.enable_sensor, (senderAlert, alertArgs) =>
{
InitFingerprintUnlock();
});
}
b.SetPositiveButton(Android.Resource.String.Ok, (o, eventArgs) => ((Dialog)o).Dismiss());
b.SetNegativeButton(Resource.String.disable_sensor, (senderAlert, alertArgs) =>
{
btn.SetImageResource(Resource.Drawable.ic_fingerprint_error);
_fingerprintDec?.StopListening();
_fingerprintDec = null;
});
}
else
{
b.SetPositiveButton(Android.Resource.String.Ok, (o, eventArgs) => ((Dialog)o).Dismiss());
b.SetNegativeButton(Resource.String.enable_sensor, (senderAlert, alertArgs) =>
{
InitFingerprintUnlock();
});
}
b.Show();
};
_fingerprintPermissionGranted = true;
_fingerprintPermissionGranted = true;
}
}
@@ -937,7 +937,6 @@ namespace keepass2android
edit.Commit();
}
public void OnFingerprintError(string message)
{
var btn = FindViewById<ImageButton>(Resource.Id.fingerprintbtn);
@@ -1130,7 +1129,7 @@ namespace keepass2android
var changeDbButton = FindViewById<Button>(Resource.Id.change_db);
string label = changeDbButton.Text;
if (label.EndsWith("<EFBFBD>"))
if (label.EndsWith(""))
changeDbButton.Text = label.Substring(0, label.Length - 1);
changeDbButton.Click += (sender, args) => GoToFileSelectActivity();

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<!--Generated by crowdin.net-->
<resources>
<string name="about_feedback">Feedback</string>
@@ -67,8 +67,8 @@
<string name="brackets">Brackets</string>
<string name="cancel">Cancel</string>
<string name="Ok">Ok</string>
<string name="disable_sensor">Disable sensor</string>
<string name="enable_sensor">Enable sensor</string>
<string name="disable_sensor">Disable sensor</string>
<string name="enable_sensor">Enable sensor</string>
<string name="ClearClipboard">Clipboard cleared.</string>