disable "Inline suggestions preference" on Android < 11
This commit is contained in:
@@ -356,7 +356,10 @@ namespace keepass2android
|
|||||||
if ((int)Android.OS.Build.VERSION.SdkInt < 30)
|
if ((int)Android.OS.Build.VERSION.SdkInt < 30)
|
||||||
{
|
{
|
||||||
autofillInlineSuggestions.Summary = Activity.GetString(Resource.String.requires_android11);
|
autofillInlineSuggestions.Summary = Activity.GetString(Resource.String.requires_android11);
|
||||||
|
CheckBoxPreference cbp = autofillInlineSuggestions as CheckBoxPreference;
|
||||||
|
if (cbp != null)
|
||||||
|
cbp.Checked = false;
|
||||||
|
autofillInlineSuggestions.Enabled = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user