diff --git a/lib/presentation/views/main_menu/settings_view/settings_view.dart b/lib/presentation/views/main_menu/settings_view/settings_view.dart index e48b1f3..c3fa850 100644 --- a/lib/presentation/views/main_menu/settings_view/settings_view.dart +++ b/lib/presentation/views/main_menu/settings_view/settings_view.dart @@ -1,3 +1,6 @@ +import 'dart:io'; + +import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:font_awesome_flutter/font_awesome_flutter.dart'; import 'package:game_tracker/core/custom_theme.dart'; @@ -146,34 +149,41 @@ class _SettingsViewState extends State { padding: const EdgeInsets.all(20), child: Center( child: Column( - spacing: 6, + spacing: 4, children: [ - Row( - mainAxisAlignment: MainAxisAlignment.center, - spacing: 40, - children: [ - GestureDetector( - child: const Icon(Icons.language), - onTap: () => { - launchUrl(Uri.parse('https://liquid-dev.de')), - }, - ), - GestureDetector( - child: const FaIcon(FontAwesomeIcons.github), - onTap: () => { - launchUrl( - Uri.parse( - 'https://github.com/liquiddevelopmentde', + Padding( + padding: const EdgeInsets.only(bottom: 12), + child: Row( + mainAxisAlignment: MainAxisAlignment.center, + spacing: 40, + children: [ + GestureDetector( + child: const Icon(Icons.language), + onTap: () => { + launchUrl(Uri.parse('https://liquid-dev.de')), + }, + ), + GestureDetector( + child: const FaIcon(FontAwesomeIcons.github), + onTap: () => { + launchUrl( + Uri.parse( + 'https://github.com/liquiddevelopmentde', + ), ), + }, + ), + GestureDetector( + child: Icon( + Platform.isIOS + ? CupertinoIcons.mail_solid + : Icons.email, ), - }, - ), - GestureDetector( - child: const Icon(Icons.email), - onTap: () => - launchUrl(Uri.parse('mailto:hi@liquid-dev.de')), - ), - ], + onTap: () => + launchUrl(Uri.parse('mailto:hi@liquid-dev.de')), + ), + ], + ), ), Text( '© ${DateFormat('yyyy').format(DateTime.now())} Liquid Development', diff --git a/pubspec.yaml b/pubspec.yaml index 42df4a2..d1c9538 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: game_tracker description: "Game Tracking App for Card Games" publish_to: 'none' -version: 0.0.4+118 +version: 0.0.4+122 environment: sdk: ^3.8.1 @@ -9,30 +9,32 @@ environment: dependencies: flutter: sdk: flutter + flutter_localizations: + sdk: flutter + clock: ^1.1.2 + cupertino_icons: ^1.0.6 drift: ^2.27.0 drift_flutter: ^0.2.4 + file_picker: ^10.3.6 + file_saver: ^0.3.1 + font_awesome_flutter: ^10.12.0 + intl: any + json_schema: ^5.2.2 + package_info_plus: ^9.0.0 path_provider: ^2.1.5 provider: ^6.1.5 skeletonizer: ^2.1.0+1 - uuid: ^4.5.2 - file_picker: ^10.3.6 - json_schema: ^5.2.2 - file_saver: ^0.3.1 - clock: ^1.1.2 - intl: any - flutter_localizations: - sdk: flutter - package_info_plus: ^9.0.0 - font_awesome_flutter: ^10.12.0 url_launcher: ^6.3.2 + uuid: ^4.5.2 + dev_dependencies: - dart_pubspec_licenses: ^3.0.14 flutter_test: sdk: flutter - flutter_lints: ^5.0.0 - drift_dev: ^2.27.0 build_runner: ^2.5.4 + dart_pubspec_licenses: ^3.0.14 + drift_dev: ^2.27.0 + flutter_lints: ^5.0.0 flutter: uses-material-design: true