mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-15 03:35:28 +00:00
Modern attachments (#505)
* Minimum API version is now 100 * Remove old API features - Anything below API v100 no longer supported * Reefactor attachment widget to support modern attachment API * Filter and display attachments correctly * Refactor
This commit is contained in:
@ -121,15 +121,13 @@ class InvenTreeAboutWidget extends StatelessWidget {
|
||||
);
|
||||
|
||||
// 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),
|
||||
)
|
||||
);
|
||||
}
|
||||
tiles.add(
|
||||
ListTile(
|
||||
title: Text(L10().pluginSupport),
|
||||
subtitle: Text(L10().pluginSupportDetail),
|
||||
leading: FaIcon(FontAwesomeIcons.plug),
|
||||
)
|
||||
);
|
||||
|
||||
} else {
|
||||
tiles.add(
|
||||
|
Reference in New Issue
Block a user