diff --git a/assets/release_notes.md b/assets/release_notes.md index bae6449a..8d732995 100644 --- a/assets/release_notes.md +++ b/assets/release_notes.md @@ -1,6 +1,12 @@ ## InvenTree App Release Notes --- +### 0.x.x - January 2022 +--- + +- Removed "upload error report" functionality (instead link to GitHub issues) +- Updated multiple language translations + ### 0.5.3 - November 2021 --- diff --git a/lib/l10n b/lib/l10n index 1da1723c..08bfb71d 160000 --- a/lib/l10n +++ b/lib/l10n @@ -1 +1 @@ -Subproject commit 1da1723c33f10ceeb94b56b2d12bc2a71eea0ba5 +Subproject commit 08bfb71daa2f4cd0780708bf3553ff2b1e2adc50 diff --git a/lib/settings/settings.dart b/lib/settings/settings.dart index 946e94f8..663c07ea 100644 --- a/lib/settings/settings.dart +++ b/lib/settings/settings.dart @@ -77,11 +77,11 @@ class _InvenTreeSettingsState extends State { ), ListTile( - title: Text(L10().feedback), - subtitle: Text(L10().submitFeedback), - leading: FaIcon(FontAwesomeIcons.comments, color: COLOR_CLICK), + title: Text(L10().reportBug), + subtitle: Text(L10().reportBugDescription), + leading: FaIcon(FontAwesomeIcons.bug, color: COLOR_CLICK), onTap: () { - _submitFeedback(context); + _reportBug(context); }, ), @@ -124,14 +124,13 @@ class _InvenTreeSettingsState extends State { }); } - Future _submitFeedback(BuildContext context) async { + Future _reportBug(BuildContext context) async { - Navigator.push( - context, - MaterialPageRoute( - builder: (context) => SubmitFeedbackWidget(), - ) - ); + const String url = "https://github.com/inventree/InvenTree/issues/new?assignees=&labels=app%2C+bug&title=%5BApp%5D+Enter+bug+description"; + + if (await canLaunch(url)) { + await launch(url); + } } } \ No newline at end of file