Add privacy policy link to about screen (#2954)

This commit is contained in:
mpbw2 2024-01-24 15:07:39 -05:00 committed by GitHub
parent f3537b1a74
commit 3f10a6be24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 32 additions and 8 deletions

View File

@ -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" />

View File

@ -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; }

View File

@ -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 &quot;Allow&quot; on the following prompt when asked to allow push notifications..
/// </summary>

View File

@ -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>Cant 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>

View File

@ -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.