From 86814a45b6f16553175a673558f4806494f3af27 Mon Sep 17 00:00:00 2001 From: Nils Reichardt Date: Wed, 24 Apr 2024 09:05:32 +0200 Subject: [PATCH] Remove "-page" suffix for terms of service and privacy policy page (#1526) Will be used to access https://sharezone.net/privacy-policy --- lib/legal/lib/src/privacy_policy/privacy_policy_page.dart | 4 +++- lib/legal/lib/src/terms_of_service/terms_of_service_page.dart | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/legal/lib/src/privacy_policy/privacy_policy_page.dart b/lib/legal/lib/src/privacy_policy/privacy_policy_page.dart index da56c4631..dc428d5af 100644 --- a/lib/legal/lib/src/privacy_policy/privacy_policy_page.dart +++ b/lib/legal/lib/src/privacy_policy/privacy_policy_page.dart @@ -26,7 +26,9 @@ export 'src/privacy_policy_src.dart' export 'src/data/data.dart'; class PrivacyPolicyPage extends StatelessWidget { - static const tag = "privacy-policy-page"; + // Be careful when changing the tag since it breaks the links to our privacy + // policy. + static const tag = "privacy-policy"; PrivacyPolicyPage({ super.key, diff --git a/lib/legal/lib/src/terms_of_service/terms_of_service_page.dart b/lib/legal/lib/src/terms_of_service/terms_of_service_page.dart index d2117aa10..725ff94e9 100644 --- a/lib/legal/lib/src/terms_of_service/terms_of_service_page.dart +++ b/lib/legal/lib/src/terms_of_service/terms_of_service_page.dart @@ -11,7 +11,9 @@ import 'package:flutter/material.dart'; import 'package:legal/legal.dart'; class TermsOfServicePage extends StatelessWidget { - static const tag = "terms-of-service-page"; + // Be careful when changing the tag since it breaks the links to our terms of + // serivce. + static const tag = "terms-of-service"; const TermsOfServicePage({super.key});