Implemented new link constants
This commit is contained in:
@@ -103,6 +103,7 @@
|
||||
"create_issue": "Issue erstellen",
|
||||
"wiki": "Wiki",
|
||||
"app_version": "App-Version",
|
||||
"privacy_policy": "Datenschutzerklärung",
|
||||
"build": "Build-Nr.",
|
||||
"loading": "Lädt...",
|
||||
|
||||
@@ -103,6 +103,7 @@
|
||||
"create_issue": "Create Issue",
|
||||
"wiki": "Wiki",
|
||||
"app_version": "App Version",
|
||||
"privacy_policy": "Privacy Policy",
|
||||
"loading": "Loading...",
|
||||
"build": "Build No.",
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import 'package:cabo_counter/l10n/app_localizations.dart';
|
||||
import 'package:cabo_counter/l10n/generated/app_localizations.dart';
|
||||
import 'package:cabo_counter/utility/constants.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
|
||||
@@ -54,15 +55,15 @@ class InformationView extends StatelessWidget {
|
||||
children: [
|
||||
IconButton(
|
||||
onPressed: () =>
|
||||
launchUrl(Uri.parse('https://www.instagram.com/fx.kr')),
|
||||
launchUrl(Uri.parse(Constants.INSTAGRAM_LINK)),
|
||||
icon: const Icon(FontAwesomeIcons.instagram)),
|
||||
IconButton(
|
||||
onPressed: () => launchUrl(
|
||||
Uri.parse('mailto:felix.kirchner.fk@gmail.com')),
|
||||
onPressed: () =>
|
||||
launchUrl(Uri.parse('mailto:${Constants.EMAIL}')),
|
||||
icon: const Icon(CupertinoIcons.envelope)),
|
||||
IconButton(
|
||||
onPressed: () =>
|
||||
launchUrl(Uri.parse('https://www.github.com/flixcoo')),
|
||||
launchUrl(Uri.parse(Constants.GITHUB_LINK)),
|
||||
icon: const Icon(FontAwesomeIcons.github)),
|
||||
],
|
||||
),
|
||||
|
||||
@@ -2,7 +2,7 @@ name: cabo_counter
|
||||
description: "Mobile app for the card game Cabo"
|
||||
publish_to: 'none'
|
||||
|
||||
version: 0.4.0+382
|
||||
version: 0.4.0+386
|
||||
|
||||
environment:
|
||||
sdk: ^3.5.4
|
||||
|
||||
Reference in New Issue
Block a user