Skip to content

Commit 1f0d3f5

Browse files
committed
Fix links in settings
1 parent e13946b commit 1f0d3f5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

lib/screens/settings.dart

+8-8
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ class _SettingsPageState extends State<SettingsPage> {
2323
static const String _repoUrl = 'https://github.com/davquar/halfdot';
2424
static const String _license = 'MIT';
2525
static const String _licenseUrl =
26-
'https://github.com/davquar/halfdot/LICENSE';
26+
'https://github.com/davquar/halfdot/blob/main/LICENSE';
2727
static const String _privacyUrl =
28-
'https://github.com/davquar/halfdot/PRIVACY.md';
28+
'https://github.com/davquar/halfdot/blob/main/PRIVACY.md';
2929

3030
@override
3131
Widget build(BuildContext context) {
@@ -86,19 +86,19 @@ class _SettingsPageState extends State<SettingsPage> {
8686
trailing: const Icon(Icons.link),
8787
),
8888
ListTile(
89-
title: Text(AppLocalizations.of(context)!.privacyPolicy),
90-
subtitle: const Text(_privacyUrl),
89+
title: Text(AppLocalizations.of(context)!.sourceCode),
90+
subtitle: const Text(_repoUrl),
9191
onTap: () => launchUrlString(
92-
_privacyUrl,
92+
_repoUrl,
9393
mode: LaunchMode.externalApplication,
9494
),
9595
trailing: const Icon(Icons.link),
9696
),
9797
ListTile(
98-
title: Text(AppLocalizations.of(context)!.sourceCode),
99-
subtitle: const Text(_repoUrl),
98+
title: Text(AppLocalizations.of(context)!.privacyPolicy),
99+
subtitle: const Text(_privacyUrl),
100100
onTap: () => launchUrlString(
101-
_repoUrl,
101+
_privacyUrl,
102102
mode: LaunchMode.externalApplication,
103103
),
104104
trailing: const Icon(Icons.link),

0 commit comments

Comments
 (0)