mirror of
https://github.com/moparisthebest/keepass2android
synced 2025-01-31 07:00:27 -05:00
fix crash on Android 6
-> 1.0.0 pre7b
This commit is contained in:
parent
9ddc142d98
commit
b49fcb8ebe
@ -929,7 +929,7 @@ namespace keepass2android
|
|||||||
|
|
||||||
public override void OnRequestPermissionsResult(int requestCode, string[] permissions, Permission[] grantResults)
|
public override void OnRequestPermissionsResult(int requestCode, string[] permissions, Permission[] grantResults)
|
||||||
{
|
{
|
||||||
if ((requestCode == FingerprintPermissionRequestCode) && (grantResults.Any()) && (grantResults[0] == Permission.Granted))
|
if ((requestCode == FingerprintPermissionRequestCode) && (grantResults.Length > 0) && (grantResults[0] == Permission.Granted))
|
||||||
{
|
{
|
||||||
var btn = FindViewById<ImageButton>(Resource.Id.fingerprintbtn);
|
var btn = FindViewById<ImageButton>(Resource.Id.fingerprintbtn);
|
||||||
btn.Click += (sender, args) =>
|
btn.Click += (sender, args) =>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:versionCode="74"
|
android:versionCode="75"
|
||||||
android:versionName="1.0.0 preview 7"
|
android:versionName="1.0.0 preview 7b"
|
||||||
package="keepass2android.keepass2android"
|
package="keepass2android.keepass2android"
|
||||||
android:installLocation="auto">
|
android:installLocation="auto">
|
||||||
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23" />
|
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="23" />
|
||||||
|
Loading…
Reference in New Issue
Block a user