Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/generated/intl/messages_de.dart
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ class MessageLookup extends MessageLookupByLibrary {
),
"errorTokenExpired": m4,
"errorWhenPullingChallenges": m5,
"feedback": MessageLookupByLibrary.simpleMessage("Feedback"),
"generatingPhonePart": MessageLookupByLibrary.simpleMessage(
"Generiere Telefonanteil",
),
Expand Down
1 change: 1 addition & 0 deletions lib/generated/intl/messages_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ class MessageLookup extends MessageLookupByLibrary {
),
"errorTokenExpired": m4,
"errorWhenPullingChallenges": m5,
"feedback": MessageLookupByLibrary.simpleMessage("Feedback"),
"generatingPhonePart": MessageLookupByLibrary.simpleMessage(
"Generating phone part",
),
Expand Down
10 changes: 10 additions & 0 deletions lib/generated/l10n.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions lib/l10n/intl_cs.arb
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,10 @@
"@appVersion": {
"description": "App version info in the About page"
},
"feedback": null,
"@feedback": {
"description": "Feedback button in the about page"
},
"privacyPolicy": "Zásady ochrany osobních údajů",
"@privacyPolicy": {
"description": "Button to open the privacy policy"
Expand Down
4 changes: 4 additions & 0 deletions lib/l10n/intl_de.arb
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,10 @@
"@appVersion": {
"description": "App version info in the About page"
},
"feedback": "Feedback",
"@feedback": {
"description": "Feedback button in the about page"
},
"privacyPolicy": "Datenschutzerklärung",
"@privacyPolicy": {
"description": "Button to open the privacy policy"
Expand Down
4 changes: 4 additions & 0 deletions lib/l10n/intl_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,10 @@
"@appVersion": {
"description": "App version info in the About page"
},
"feedback": "Feedback",
"@feedback": {
"description": "Feedback button in the about page"
},
"privacyPolicy": "Privacy policy",
"@privacyPolicy": {
"description": "Button to open the privacy policy"
Expand Down
4 changes: 4 additions & 0 deletions lib/l10n/intl_es.arb
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,10 @@
"@appVersion": {
"description": "App version info in the About page"
},
"feedback": null,
"@feedback": {
"description": "Feedback button in the about page"
},
"privacyPolicy": "Política de privacidad",
"@privacyPolicy": {
"description": "Button to open the privacy policy"
Expand Down
4 changes: 4 additions & 0 deletions lib/l10n/intl_fr.arb
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,10 @@
"@appVersion": {
"description": "App version info in the About page"
},
"feedback": null,
"@feedback": {
"description": "Feedback button in the about page"
},
"privacyPolicy": "Politique de confidentialité",
"@privacyPolicy": {
"description": "Button to open the privacy policy"
Expand Down
4 changes: 4 additions & 0 deletions lib/l10n/intl_nl.arb
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,10 @@
"@appVersion": {
"description": "App version info in the About page"
},
"feedback": null,
"@feedback": {
"description": "Feedback button in the about page"
},
"privacyPolicy": "Privacybeleid",
"@privacyPolicy": {
"description": "Button to open the privacy policy"
Expand Down
4 changes: 4 additions & 0 deletions lib/l10n/intl_pl.arb
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,10 @@
"@appVersion": {
"description": "App version info in the About page"
},
"feedback": null,
"@feedback": {
"description": "Feedback button in the about page"
},
"privacyPolicy": "Polityka prywatności",
"@privacyPolicy": {
"description": "Button to open the privacy policy"
Expand Down
1 change: 1 addition & 0 deletions lib/utils/globals.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,5 @@ final appName = 'eduMFA Authenticator';
final brandColor = const Color(0xFF768FFC);
final websiteUri = Uri.parse("https://edumfa.io/");
final policyStatementUri = Uri.parse("https://edumfa.io/app-privacy");
final feedbackUrl = Uri.parse("https://formulare.hm.edu/frontend-server/form/provide/752");
final githubUri = Uri.parse("https://github.com/eduMFA/authenticator");
8 changes: 8 additions & 0 deletions lib/views/settings_view/settings_view_widgets/about_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ class AboutSettingsView extends StatelessView {
body: SingleChildScrollView(
child: Column(
children: [
SettingsTile(
icon: Icons.feedback,
title: S.of(context).feedback,
isLink: true,
onTap: () => launchUrl(feedbackUrl.replace(
queryParameters: {"ed_Systeminfo": AppInfoUtils.systemInfoString}
)),
),
SettingsTile(
icon: Icons.policy,
title: S.of(context).privacyPolicy,
Expand Down