mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-12 02:05:29 +00:00
Cleanup "about" info
This commit is contained in:
@ -48,12 +48,7 @@ class _InvenTreeSettingsState extends State<InvenTreeSettingsWidget> {
|
||||
leading: FaIcon(FontAwesomeIcons.infoCircle),
|
||||
onTap: _about,
|
||||
),
|
||||
ListTile(
|
||||
title: Text(I18N.of(context).releaseNotes),
|
||||
subtitle: Text("Display app release notes"),
|
||||
leading: FaIcon(FontAwesomeIcons.fileAlt),
|
||||
onTap: _releaseNotes,
|
||||
),
|
||||
|
||||
ListTile(
|
||||
title: Text(I18N.of(context).reportBug),
|
||||
subtitle: Text("Report bug or suggest new feature"),
|
||||
@ -81,15 +76,4 @@ class _InvenTreeSettingsState extends State<InvenTreeSettingsWidget> {
|
||||
MaterialPageRoute(builder: (context) => InvenTreeAboutWidget(info)));
|
||||
});
|
||||
}
|
||||
|
||||
void _releaseNotes() async {
|
||||
|
||||
// Load release notes from external file
|
||||
String notes = await rootBundle.loadString("assets/release_notes.md");
|
||||
|
||||
Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(builder: (context) => ReleaseNotesWidget(notes))
|
||||
);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user