mirror of
https://github.com/bitwarden/android.git
synced 2024-11-01 07:35:52 +03:00
add alert for autofill extension
This commit is contained in:
parent
edef84a4f9
commit
045ce42168
3 changed files with 22 additions and 2 deletions
|
@ -244,10 +244,18 @@ namespace Bit.App.Pages
|
||||||
{
|
{
|
||||||
_settings.AddOrUpdateValue(AddedLoginAlertKey, true);
|
_settings.AddOrUpdateValue(AddedLoginAlertKey, true);
|
||||||
if(Device.RuntimePlatform == Device.iOS)
|
if(Device.RuntimePlatform == Device.iOS)
|
||||||
|
{
|
||||||
|
if(_deviceInfo.Version < 12)
|
||||||
{
|
{
|
||||||
DisplayAlert(AppResources.BitwardenAppExtension, AppResources.BitwardenAppExtensionAlert,
|
DisplayAlert(AppResources.BitwardenAppExtension, AppResources.BitwardenAppExtensionAlert,
|
||||||
AppResources.Ok);
|
AppResources.Ok);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
DisplayAlert(AppResources.PasswordAutofill, AppResources.BitwardenAutofillAlert,
|
||||||
|
AppResources.Ok);
|
||||||
|
}
|
||||||
|
}
|
||||||
else if(Device.RuntimePlatform == Device.Android && !_appInfoService.AutofillAccessibilityServiceEnabled)
|
else if(Device.RuntimePlatform == Device.Android && !_appInfoService.AutofillAccessibilityServiceEnabled)
|
||||||
{
|
{
|
||||||
DisplayAlert(AppResources.BitwardenAutofillService, AppResources.BitwardenAutofillServiceAlert,
|
DisplayAlert(AppResources.BitwardenAutofillService, AppResources.BitwardenAutofillServiceAlert,
|
||||||
|
|
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>
|
/// <summary>
|
||||||
/// Looks up a localized string similar to Access your vault directly from your keyboard to quickly autofill passwords..
|
/// Looks up a localized string similar to Access your vault directly from your keyboard to quickly autofill passwords..
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|
|
@ -1349,4 +1349,7 @@
|
||||||
<data name="PasswordAutofill" xml:space="preserve">
|
<data name="PasswordAutofill" xml:space="preserve">
|
||||||
<value>Password AutoFill</value>
|
<value>Password AutoFill</value>
|
||||||
</data>
|
</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>
|
</root>
|
Loading…
Reference in a new issue