mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-13 02:35:27 +00:00
Bug report rather than submission feedback
This commit is contained in:
@ -1,6 +1,12 @@
|
|||||||
## InvenTree App Release Notes
|
## 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
|
### 0.5.3 - November 2021
|
||||||
---
|
---
|
||||||
|
|
||||||
|
2
lib/l10n
2
lib/l10n
Submodule lib/l10n updated: 1da1723c33...08bfb71daa
@ -77,11 +77,11 @@ class _InvenTreeSettingsState extends State<InvenTreeSettingsWidget> {
|
|||||||
),
|
),
|
||||||
|
|
||||||
ListTile(
|
ListTile(
|
||||||
title: Text(L10().feedback),
|
title: Text(L10().reportBug),
|
||||||
subtitle: Text(L10().submitFeedback),
|
subtitle: Text(L10().reportBugDescription),
|
||||||
leading: FaIcon(FontAwesomeIcons.comments, color: COLOR_CLICK),
|
leading: FaIcon(FontAwesomeIcons.bug, color: COLOR_CLICK),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
_submitFeedback(context);
|
_reportBug(context);
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|
||||||
@ -124,14 +124,13 @@ class _InvenTreeSettingsState extends State<InvenTreeSettingsWidget> {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
Future <void> _submitFeedback(BuildContext context) async {
|
Future <void> _reportBug(BuildContext context) async {
|
||||||
|
|
||||||
Navigator.push(
|
const String url = "https://github.com/inventree/InvenTree/issues/new?assignees=&labels=app%2C+bug&title=%5BApp%5D+Enter+bug+description";
|
||||||
context,
|
|
||||||
MaterialPageRoute(
|
if (await canLaunch(url)) {
|
||||||
builder: (context) => SubmitFeedbackWidget(),
|
await launch(url);
|
||||||
)
|
}
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user