Updated about view
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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.",
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user