2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-16 20:25:26 +00:00

Adds skeleton for "app settings" view

This commit is contained in:
Oliver Walters
2021-03-02 22:57:45 +11:00
parent a5406734eb
commit 194be50337
4 changed files with 90 additions and 9 deletions

View File

@ -53,7 +53,7 @@ class _InvenTreeLoginSettingsState extends State<InvenTreeLoginSettingsWidget> {
}
showFormDialog(
I18N.of(context).profileAdd,
createNew ? I18N.of(context).profileAdd : I18N.of(context).profileEdit,
key: _addProfileKey,
callback: () {
if (createNew) {
@ -237,8 +237,6 @@ class _InvenTreeLoginSettingsState extends State<InvenTreeLoginSettingsWidget> {
@override
Widget build(BuildContext context) {
final Size screenSize = MediaQuery.of(context).size;
List<Widget> children = [];
if (profiles != null && profiles.length > 0) {
@ -268,7 +266,7 @@ class _InvenTreeLoginSettingsState extends State<InvenTreeLoginSettingsWidget> {
Navigator.of(context).pop();
_selectProfile(context, profile);
},
child: Text(I18N.of(context).profileSelect),
child: Text(I18N.of(context).profileConnect),
),
SimpleDialogOption(
onPressed: () {