Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 11 additions & 3 deletions lib/view/about_us_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Widget buildContactList(List<Map<String, dynamic>> items) {
if (await canLaunchUrl(uri)) {
await launchUrl(uri);
} else {
debugPrint('Could not launch ${item['url']}');
logger.e('Could not launch URL: ${item['url']}');
}
},
);
Expand Down Expand Up @@ -135,7 +135,14 @@ class _AboutUsScreenState extends State<AboutUsScreen> {
style: const TextStyle(fontSize: 15),
),
onTap: () async {
await launchUrl(Uri.parse(appLocalizations.feedbackForm));
final uri = Uri.parse(appLocalizations.feedbackForm);
Comment thread
sourcery-ai[bot] marked this conversation as resolved.
if (await canLaunchUrl(uri)) {
await launchUrl(uri);
} else {
logger.e(
'Could not launch feedback form URL: ${appLocalizations.feedbackForm}',
);
}
},
),
const Divider(thickness: 0.5),
Expand All @@ -162,7 +169,8 @@ class _AboutUsScreenState extends State<AboutUsScreen> {
);
} else if (snapshot.hasError) {
logger.e(
"Error getting version information: ${snapshot.error.toString()}");
"Error getting version information: ${snapshot.error.toString()}",
);
return Text(
appLocalizations.error,
style: const TextStyle(fontSize: 15),
Expand Down
Loading