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:
@ -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,
|
||||
),
|
||||
],
|
||||
)
|
||||
)
|
||||
|
Reference in New Issue
Block a user