chore: Minor code clean up

This commit is contained in:
Krille 2023-05-15 18:55:27 +02:00
commit cb0fe173d9
7 changed files with 24 additions and 12 deletions

View file

@ -160,7 +160,10 @@ class PublicRoomBottomSheet extends StatelessWidget {
fontSize: 14,
color: Theme.of(context).textTheme.bodyMedium!.color,
),
onLinkTap: (url) => UrlLauncher(context, url).launchUrl(),
beforeLaunch: (url) {
UrlLauncher(context, url.toString()).launchUrl();
return false;
},
),
),
],