Changed formatting of link displayment
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m4s
Pull Request Pipeline / lint (pull_request) Successful in 2m11s

This commit is contained in:
2026-01-12 19:21:04 +01:00
parent 2124c523bc
commit 80e601c10e
2 changed files with 15 additions and 12 deletions

View File

@@ -84,18 +84,21 @@ class LicenseDetailView extends StatelessWidget {
GestureDetector( GestureDetector(
onTap: () async { onTap: () async {
final uri = Uri.parse(package.homepage!); final uri = Uri.parse(package.homepage!);
if (await canLaunchUrl(uri)) { await launchUrl(uri, mode: LaunchMode.platformDefault);
launchUrl(uri);
}
}, },
child: Text( child: SizedBox(
package.homepage!, width: 300,
textAlign: TextAlign.center, child: Text(
style: TextStyle( package.homepage!,
fontSize: 12, maxLines: 1,
color: CustomTheme.secondaryColor, overflow: TextOverflow.ellipsis,
decoration: TextDecoration.underline, textAlign: TextAlign.center,
decorationColor: CustomTheme.secondaryColor, style: TextStyle(
fontSize: 12,
color: CustomTheme.secondaryColor,
decoration: TextDecoration.underline,
decorationColor: CustomTheme.secondaryColor,
),
), ),
), ),
), ),

View File

@@ -1,7 +1,7 @@
name: game_tracker name: game_tracker
description: "Game Tracking App for Card Games" description: "Game Tracking App for Card Games"
publish_to: 'none' publish_to: 'none'
version: 0.0.5+138 version: 0.0.5+143
environment: environment:
sdk: ^3.8.1 sdk: ^3.8.1