diff --git a/lib/presentation/views/main_menu/settings_view/licenses/license_detail_view.dart b/lib/presentation/views/main_menu/settings_view/licenses/license_detail_view.dart index aa597e6..02c3adf 100644 --- a/lib/presentation/views/main_menu/settings_view/licenses/license_detail_view.dart +++ b/lib/presentation/views/main_menu/settings_view/licenses/license_detail_view.dart @@ -84,18 +84,21 @@ class LicenseDetailView extends StatelessWidget { GestureDetector( onTap: () async { final uri = Uri.parse(package.homepage!); - if (await canLaunchUrl(uri)) { - launchUrl(uri); - } + await launchUrl(uri, mode: LaunchMode.platformDefault); }, - child: Text( - package.homepage!, - textAlign: TextAlign.center, - style: TextStyle( - fontSize: 12, - color: CustomTheme.secondaryColor, - decoration: TextDecoration.underline, - decorationColor: CustomTheme.secondaryColor, + child: SizedBox( + width: 300, + child: Text( + package.homepage!, + maxLines: 1, + overflow: TextOverflow.ellipsis, + textAlign: TextAlign.center, + style: TextStyle( + fontSize: 12, + color: CustomTheme.secondaryColor, + decoration: TextDecoration.underline, + decorationColor: CustomTheme.secondaryColor, + ), ), ), ), diff --git a/pubspec.yaml b/pubspec.yaml index a87ee7d..2afff43 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.5+138 +version: 0.0.5+143 environment: sdk: ^3.8.1