Updated about view
This commit is contained in:
@@ -20,6 +20,7 @@
|
|||||||
"about": "Über",
|
"about": "Über",
|
||||||
"licenses": "Lizenzen",
|
"licenses": "Lizenzen",
|
||||||
"license_details": "Lizenzdetails",
|
"license_details": "Lizenzdetails",
|
||||||
|
"imprint": "Impressum",
|
||||||
|
|
||||||
"empty_text_1": "Ganz schön leer hier...",
|
"empty_text_1": "Ganz schön leer hier...",
|
||||||
"empty_text_2": "Füge über den Button oben rechts eine neue Runde hinzu",
|
"empty_text_2": "Füge über den Button oben rechts eine neue Runde hinzu",
|
||||||
|
|||||||
@@ -20,6 +20,8 @@
|
|||||||
"about": "About",
|
"about": "About",
|
||||||
"licenses": "Licenses",
|
"licenses": "Licenses",
|
||||||
"license_details": "License Details",
|
"license_details": "License Details",
|
||||||
|
"imprint": "Imprint",
|
||||||
|
|
||||||
|
|
||||||
"empty_text_1": "Pretty empty here...",
|
"empty_text_1": "Pretty empty here...",
|
||||||
"empty_text_2": "Create a new game using the button in the top right.",
|
"empty_text_2": "Create a new game using the button in the top right.",
|
||||||
|
|||||||
@@ -43,20 +43,45 @@ class AboutView extends StatelessWidget {
|
|||||||
height: 200,
|
height: 200,
|
||||||
child: Image.asset('assets/cabo_counter-logo_rounded.png'),
|
child: Image.asset('assets/cabo_counter-logo_rounded.png'),
|
||||||
)),
|
)),
|
||||||
Padding(
|
Visibility(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 30),
|
visible: Constants.appDevPhase == 'Beta',
|
||||||
child: Text(
|
child: Column(
|
||||||
AppLocalizations.of(context).about_text,
|
children: [
|
||||||
textAlign: TextAlign.center,
|
Padding(
|
||||||
softWrap: true,
|
padding: const EdgeInsets.symmetric(horizontal: 30),
|
||||||
)),
|
child: Text(
|
||||||
const SizedBox(
|
AppLocalizations.of(context).about_text,
|
||||||
height: 30,
|
textAlign: TextAlign.center,
|
||||||
|
softWrap: true,
|
||||||
|
)),
|
||||||
|
const SizedBox(
|
||||||
|
height: 10,
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
CupertinoButton(
|
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),
|
child: Text(AppLocalizations.of(context).licenses),
|
||||||
onPressed: () => Navigator.push(context,
|
onPressed: () => Navigator.push(context,
|
||||||
CupertinoPageRoute(builder: (_) => const LicenseView()))),
|
CupertinoPageRoute(builder: (_) => const LicenseView()))),
|
||||||
|
const SizedBox(
|
||||||
|
height: 10,
|
||||||
|
),
|
||||||
const Text(
|
const Text(
|
||||||
'\u00A9 Felix Kirchner',
|
'\u00A9 Felix Kirchner',
|
||||||
style: TextStyle(fontSize: 16),
|
style: TextStyle(fontSize: 16),
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ name: cabo_counter
|
|||||||
description: "Mobile app for the card game Cabo"
|
description: "Mobile app for the card game Cabo"
|
||||||
publish_to: 'none'
|
publish_to: 'none'
|
||||||
|
|
||||||
version: 0.5.6+648
|
version: 0.5.6+656
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ^3.5.4
|
sdk: ^3.5.4
|
||||||
|
|||||||
Reference in New Issue
Block a user