Skip to content

Commit

Permalink
Update links to privacy policy (#1521)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsreichardt authored Apr 23, 2024
1 parent c6c4ddf commit 2dd336c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 3 additions & 1 deletion app/lib/legal/privacy_policy/privacy_policy_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ import 'package:sharezone_widgets/sharezone_widgets.dart';
import 'src/ui/ui.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,
Expand Down
5 changes: 2 additions & 3 deletions app/lib/legal/terms_of_service/terms_of_service_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@ import 'package:sharezone/legal/privacy_policy/privacy_policy_page.dart';
import 'package:sharezone/legal/privacy_policy/src/privacy_policy_src.dart';

class TermsOfServicePage extends StatelessWidget {
// When you change the tag, you also need to change the tag in the
// `styled_markdown_text.dart` because the tag is used on the Sharezone Plus
// page.
// Be careful when changing the tag since it breaks the links to our term of
// service.
static const tag = "terms-of-service";

const TermsOfServicePage({super.key});
Expand Down

0 comments on commit 2dd336c

Please sign in to comment.