Add plugin support status to server information screen

This commit is contained in:
Oliver Walters committed 2022-05-10 08:12:53 +10:00
1 parent 9f6269375f
commit bc53dafaba
2 files changed
+18

No files matched your search

+12
View File
@@ -102,6 +102,18 @@ class InvenTreeAboutWidget extends StatelessWidget {
leading: FaIcon(FontAwesomeIcons.server),
)
);
// Display extra tile if the server supports plugins
if (InvenTreeAPI().pluginsEnabled()) {
tiles.add(
ListTile(
title: Text(L10().pluginSupport),
subtitle: Text(L10().pluginSupportDetail),
leading: FaIcon(FontAwesomeIcons.plug),
)
);
}
} else {
tiles.add(
ListTile(