mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 07:05:35 +03:00
Add privacy policy link to about screen (#2954)
This commit is contained in:
parent
8cc227715f
commit
dcba6384a7
5 changed files with 32 additions and 8 deletions
|
@ -31,8 +31,8 @@
|
|||
<BoxView StyleClass="box-row-separator" />
|
||||
|
||||
<controls:ExternalLinkItemView
|
||||
Title="{u:I18n ContactBitwardenSupport}"
|
||||
GoToLinkCommand="{Binding ContactBitwardenSupportCommand}"
|
||||
Title="{u:I18n PrivacyPolicy}"
|
||||
GoToLinkCommand="{Binding GoToPrivacyPolicyCommand}"
|
||||
StyleClass="settings-external-link-item"
|
||||
HorizontalOptions="FillAndExpand" />
|
||||
<BoxView StyleClass="box-row-separator" />
|
||||
|
|
|
@ -36,10 +36,10 @@ namespace Bit.App.Pages
|
|||
AppResources.ContinueToHelpCenter,
|
||||
ExternalLinksConstants.HELP_CENTER));
|
||||
|
||||
ContactBitwardenSupportCommand = CreateDefaultAsyncCommnad(
|
||||
() => LaunchUriAsync(AppResources.ContactSupportDescriptionLong,
|
||||
AppResources.ContinueToContactSupport,
|
||||
ExternalLinksConstants.CONTACT_SUPPORT));
|
||||
GoToPrivacyPolicyCommand = CreateDefaultAsyncCommnad(
|
||||
() => LaunchUriAsync(AppResources.PrivacyPolicyDescriptionLong,
|
||||
AppResources.ContinueToPrivacyPolicy,
|
||||
ExternalLinksConstants.PRIVACY_POLICY));
|
||||
|
||||
GoToWebVaultCommand = CreateDefaultAsyncCommnad(
|
||||
() => LaunchUriAsync(AppResources.ExploreMoreFeaturesOfYourBitwardenAccountOnTheWebApp,
|
||||
|
@ -82,7 +82,7 @@ namespace Bit.App.Pages
|
|||
|
||||
public AsyncCommand ToggleSubmitCrashLogsCommand { get; }
|
||||
public ICommand GoToHelpCenterCommand { get; }
|
||||
public ICommand ContactBitwardenSupportCommand { get; }
|
||||
public ICommand GoToPrivacyPolicyCommand { get; }
|
||||
public ICommand GoToWebVaultCommand { get; }
|
||||
public ICommand GoToLearnAboutOrgsCommand { get; }
|
||||
public ICommand RateTheAppCommand { get; }
|
||||
|
|
18
src/App/Resources/AppResources.Designer.cs
generated
18
src/App/Resources/AppResources.Designer.cs
generated
|
@ -1714,6 +1714,15 @@ namespace Bit.App.Resources {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Continue to privacy policy?.
|
||||
/// </summary>
|
||||
public static string ContinueToPrivacyPolicy {
|
||||
get {
|
||||
return ResourceManager.GetString("ContinueToPrivacyPolicy", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Continue to web app?.
|
||||
/// </summary>
|
||||
|
@ -5516,6 +5525,15 @@ namespace Bit.App.Resources {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Check out our privacy policy on bitwarden.com..
|
||||
/// </summary>
|
||||
public static string PrivacyPolicyDescriptionLong {
|
||||
get {
|
||||
return ResourceManager.GetString("PrivacyPolicyDescriptionLong", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Bitwarden keeps your vault automatically synced by using push notifications. For the best possible experience, please select "Allow" on the following prompt when asked to allow push notifications..
|
||||
/// </summary>
|
||||
|
|
|
@ -2821,6 +2821,9 @@ Do you want to switch to this account?</value>
|
|||
<data name="ContinueToContactSupport" xml:space="preserve">
|
||||
<value>Continue to contact support?</value>
|
||||
</data>
|
||||
<data name="ContinueToPrivacyPolicy" xml:space="preserve">
|
||||
<value>Continue to privacy policy?</value>
|
||||
</data>
|
||||
<data name="ContinueToAppStore" xml:space="preserve">
|
||||
<value>Continue to app store?</value>
|
||||
</data>
|
||||
|
@ -2840,6 +2843,9 @@ Do you want to switch to this account?</value>
|
|||
<data name="ContactSupportDescriptionLong" xml:space="preserve">
|
||||
<value>Can’t find what you are looking for? Reach out to Bitwarden support on bitwarden.com.</value>
|
||||
</data>
|
||||
<data name="PrivacyPolicyDescriptionLong" xml:space="preserve">
|
||||
<value>Check out our privacy policy on bitwarden.com.</value>
|
||||
</data>
|
||||
<data name="ExploreMoreFeaturesOfYourBitwardenAccountOnTheWebApp" xml:space="preserve">
|
||||
<value>Explore more features of your Bitwarden account on the web app.</value>
|
||||
</data>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
public const string HELP_ABOUT_ORGANIZATIONS = "https://bitwarden.com/help/about-organizations/";
|
||||
public const string HELP_FINGERPRINT_PHRASE = "https://bitwarden.com/help/fingerprint-phrase/";
|
||||
|
||||
public const string CONTACT_SUPPORT = "https://bitwarden.com/contact/";
|
||||
public const string PRIVACY_POLICY = "https://bitwarden.com/privacy/";
|
||||
|
||||
/// <summary>
|
||||
/// Link to go to settings website. Requires to pass website URL as parameter.
|
||||
|
|
Loading…
Reference in a new issue