Skip to content

Commit

Permalink
link to tos from login
Browse files Browse the repository at this point in the history
  • Loading branch information
mytja committed Nov 17, 2023
1 parent e770d07 commit 3b56ac8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tarok/lib/internationalization/languages.dart
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@ class Messages extends Translations {
"password_reset_procedure":
"This procedure will sign you out of all your devices",
"password_reset_change": "Change your password",
"tos": "Terms of service",
},
'sl_SI': {
"login": "Prijava",
Expand Down Expand Up @@ -512,6 +513,7 @@ class Messages extends Translations {
"Vaše geslo se ni spremenilo. Prosimo, ponovite postopek, ali kontaktirajte razvijalce, da se razčisti o možnih težavah.",
"password_reset_procedure": "Postopek vas bo izpisal iz vseh naprav",
"password_reset_change": "Spremenite svoje geslo",
"tos": "Pogoji uporabe",
}
};
}
6 changes: 6 additions & 0 deletions tarok/lib/login/login.dart
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,12 @@ class Login extends StatelessWidget {
),
icon: const FaIcon(FontAwesomeIcons.googlePlay),
),
ElevatedButton(
onPressed: () async {
await launchUrl(Uri.parse("https://palcka.si/tos.html"));
},
child: Text("tos".tr, style: const TextStyle(fontSize: 20)),
),
ElevatedButton.icon(
onPressed: () async {
await launchUrl(
Expand Down

0 comments on commit 3b56ac8

Please sign in to comment.