2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 02:05:29 +00:00

Update for settings menus

This commit is contained in:
Oliver Walters
2021-02-02 20:50:10 +11:00
parent b69762ff15
commit 1823dca61d
3 changed files with 24 additions and 17 deletions

View File

@ -5,6 +5,8 @@ import 'package:flutter/material.dart';
import 'package:font_awesome_flutter/font_awesome_flutter.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:InvenTree/api.dart';
import 'login.dart';
@ -37,11 +39,17 @@ class _InvenTreeSettingsState extends State<InvenTreeSettingsWidget> {
),
Divider(),
ListTile(
title: Text("About"),
subtitle: Text("App details"),
title: Text(I18N.of(context).about),
subtitle: Text(I18N.of(context).appDetails),
leading: FaIcon(FontAwesomeIcons.infoCircle),
onTap: _about,
),
ListTile(
title: Text("Report Bug"),
subtitle: Text("Report bug or suggest new feature"),
leading: FaIcon(FontAwesomeIcons.bug),
onTap: null,
),
],
)
)