diff --git a/desktop_photo_search/fluent_ui/lib/src/widgets/photo_details.dart b/desktop_photo_search/fluent_ui/lib/src/widgets/photo_details.dart index 1631c7eff03..1de3e96ffda 100644 --- a/desktop_photo_search/fluent_ui/lib/src/widgets/photo_details.dart +++ b/desktop_photo_search/fluent_ui/lib/src/widgets/photo_details.dart @@ -37,7 +37,7 @@ class _PhotoDetailsState extends State { Link( uri: Uri.parse( 'https://unsplash.com/@${widget.photo.user!.username}?utm_source=$unsplashAppName&utm_medium=referral'), - builder: (context, followLink) => TextButton( + builder: (context, followLink) => HyperlinkButton( onPressed: followLink, child: Text(widget.photo.user!.name), ), @@ -45,7 +45,7 @@ class _PhotoDetailsState extends State { const Text('on'), Link( uri: _unsplashHomepage, - builder: (context, followLink) => TextButton( + builder: (context, followLink) => HyperlinkButton( onPressed: followLink, child: const Text('Unsplash'), ),