diff --git a/lib/pages/faq/view/faq_page.dart b/lib/pages/faq/view/faq_page.dart index 6467b5c19..5a011511e 100644 --- a/lib/pages/faq/view/faq_page.dart +++ b/lib/pages/faq/view/faq_page.dart @@ -1,6 +1,7 @@ import 'package:acs_upb_mobile/generated/l10n.dart'; import 'package:acs_upb_mobile/pages/faq/model/question.dart'; import 'package:acs_upb_mobile/pages/faq/service/question_provider.dart'; +import 'package:acs_upb_mobile/resources/utils.dart'; import 'package:acs_upb_mobile/widgets/scaffold.dart'; import 'package:acs_upb_mobile/widgets/search_bar.dart'; import 'package:acs_upb_mobile/widgets/selectable.dart'; @@ -158,6 +159,7 @@ class _QuestionsListState extends State { padding: const EdgeInsets.fromLTRB(15, 0, 15, 15), child: MarkdownBody( fitContent: false, + onTapLink: Utils.launchURL, /* This is a workaround because the strings in Firebase represent newlines as '\n' and Firebase replaces them with '\\n'. We need diff --git a/lib/pages/home/home_page.dart b/lib/pages/home/home_page.dart index e5fa338f6..76e829968 100644 --- a/lib/pages/home/home_page.dart +++ b/lib/pages/home/home_page.dart @@ -80,6 +80,7 @@ class HomePage extends StatelessWidget { fitContent: false, maxLines: 2, overflow: TextOverflow.ellipsis, + onTapLink: Utils.launchURL, /* This is a workaround because the strings in Firebase represent newlines as '\n' and Firebase replaces them with '\\n'. We need diff --git a/pubspec.yaml b/pubspec.yaml index bea945764..2d6694f38 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -13,7 +13,7 @@ description: A mobile application for students at ACS UPB. # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # # ACS UPB Mobile uses semantic versioning. You can read more in the CONTRIBUTING.md file. -version: 0.10.2+1 +version: 0.10.3+1 environment: sdk: ">=2.6.0 <3.0.0"