Updated about view

This commit is contained in:
2025-08-04 22:26:02 +02:00
parent 7691d74f37
commit 3d2a9bcfff
4 changed files with 38 additions and 10 deletions

View File

@@ -20,6 +20,7 @@
"about": "Über",
"licenses": "Lizenzen",
"license_details": "Lizenzdetails",
"imprint": "Impressum",
"empty_text_1": "Ganz schön leer hier...",
"empty_text_2": "Füge über den Button oben rechts eine neue Runde hinzu",

View File

@@ -20,6 +20,8 @@
"about": "About",
"licenses": "Licenses",
"license_details": "License Details",
"imprint": "Imprint",
"empty_text_1": "Pretty empty here...",
"empty_text_2": "Create a new game using the button in the top right.",

View File

@@ -43,6 +43,10 @@ class AboutView extends StatelessWidget {
height: 200,
child: Image.asset('assets/cabo_counter-logo_rounded.png'),
)),
Visibility(
visible: Constants.appDevPhase == 'Beta',
child: Column(
children: [
Padding(
padding: const EdgeInsets.symmetric(horizontal: 30),
child: Text(
@@ -51,12 +55,33 @@ class AboutView extends StatelessWidget {
softWrap: true,
)),
const SizedBox(
height: 30,
height: 10,
),
],
),
),
CupertinoButton(
sizeStyle: CupertinoButtonSize.medium,
padding: EdgeInsets.zero,
child: Text(AppLocalizations.of(context).privacy_policy),
onPressed: () =>
launchUrl(Uri.parse(Constants.kPrivacyPolicyLink)),
),
CupertinoButton(
sizeStyle: CupertinoButtonSize.medium,
padding: EdgeInsets.zero,
child: Text(AppLocalizations.of(context).imprint),
onPressed: () => launchUrl(Uri.parse(Constants.kImprintLink)),
),
CupertinoButton(
sizeStyle: CupertinoButtonSize.medium,
padding: EdgeInsets.zero,
child: Text(AppLocalizations.of(context).licenses),
onPressed: () => Navigator.push(context,
CupertinoPageRoute(builder: (_) => const LicenseView()))),
const SizedBox(
height: 10,
),
const Text(
'\u00A9 Felix Kirchner',
style: TextStyle(fontSize: 16),

View File

@@ -2,7 +2,7 @@ name: cabo_counter
description: "Mobile app for the card game Cabo"
publish_to: 'none'
version: 0.5.6+648
version: 0.5.6+656
environment:
sdk: ^3.5.4