mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-24 11:55:38 +01:00
add alert for autofill extension
This commit is contained in:
parent
edef84a4f9
commit
045ce42168
@ -245,8 +245,16 @@ namespace Bit.App.Pages
|
||||
_settings.AddOrUpdateValue(AddedLoginAlertKey, true);
|
||||
if(Device.RuntimePlatform == Device.iOS)
|
||||
{
|
||||
DisplayAlert(AppResources.BitwardenAppExtension, AppResources.BitwardenAppExtensionAlert,
|
||||
AppResources.Ok);
|
||||
if(_deviceInfo.Version < 12)
|
||||
{
|
||||
DisplayAlert(AppResources.BitwardenAppExtension, AppResources.BitwardenAppExtensionAlert,
|
||||
AppResources.Ok);
|
||||
}
|
||||
else
|
||||
{
|
||||
DisplayAlert(AppResources.PasswordAutofill, AppResources.BitwardenAutofillAlert,
|
||||
AppResources.Ok);
|
||||
}
|
||||
}
|
||||
else if(Device.RuntimePlatform == Device.Android && !_appInfoService.AutofillAccessibilityServiceEnabled)
|
||||
{
|
||||
|
9
src/App/Resources/AppResources.Designer.cs
generated
9
src/App/Resources/AppResources.Designer.cs
generated
@ -582,6 +582,15 @@ namespace Bit.App.Resources {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to The easiest way to add new logins to your vault is by using the Bitwarden Password AutoFill extension. Learn more about using the Bitwarden Password AutoFill extension by navigating to the "Tools" screen..
|
||||
/// </summary>
|
||||
public static string BitwardenAutofillAlert {
|
||||
get {
|
||||
return ResourceManager.GetString("BitwardenAutofillAlert", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Access your vault directly from your keyboard to quickly autofill passwords..
|
||||
/// </summary>
|
||||
|
@ -1349,4 +1349,7 @@
|
||||
<data name="PasswordAutofill" xml:space="preserve">
|
||||
<value>Password AutoFill</value>
|
||||
</data>
|
||||
<data name="BitwardenAutofillAlert" xml:space="preserve">
|
||||
<value>The easiest way to add new logins to your vault is by using the Bitwarden Password AutoFill extension. Learn more about using the Bitwarden Password AutoFill extension by navigating to the "Tools" screen.</value>
|
||||
</data>
|
||||
</root>
|
Loading…
Reference in New Issue
Block a user