catch any errors on OpenAccessibilitySettings

This commit is contained in:
Kyle Spearrin 2019-06-05 12:09:05 -04:00
parent 1cdc97f037
commit 4a01116e93

View file

@ -535,9 +535,13 @@ namespace Bit.Droid.Services
public void OpenAccessibilitySettings() public void OpenAccessibilitySettings()
{ {
var activity = (MainActivity)CrossCurrentActivity.Current.Activity; try
var intent = new Intent(Settings.ActionAccessibilitySettings); {
activity.StartActivity(intent); var activity = (MainActivity)CrossCurrentActivity.Current.Activity;
var intent = new Intent(Settings.ActionAccessibilitySettings);
activity.StartActivity(intent);
}
catch { }
} }
public void OpenAutofillSettings() public void OpenAutofillSettings()