mirror of
https://github.com/inventree/inventree-app.git
synced 2026-11-22 21:56:06 +00:00
Ensure that flutter errors are also reported to sentry!
This commit is contained in:
1 parent
d0aa6a61ba
commit
c84941695d
3 files changed
+22
-26
No files matched your search
@@ -432,7 +432,7 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
||||
L10().stockItems,
|
||||
style: TextStyle(fontWeight: FontWeight.bold),
|
||||
),
|
||||
subtitle: part.stockItems.isEmpty ? Text("No stock items available") : null,
|
||||
subtitle: part.stockItems.isEmpty ? Text(L10().stockItemsNotAvailable) : null,
|
||||
trailing: part.stockItems.isNotEmpty ? Text("${part.stockItems.length}") : null,
|
||||
)
|
||||
);
|
||||
@@ -463,7 +463,7 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
||||
|
||||
tiles.add(
|
||||
ListTile(
|
||||
title: Text("Scan New Stock Item"),
|
||||
title: Text(L10().barcodeScanItem),
|
||||
leading: FaIcon(FontAwesomeIcons.box),
|
||||
trailing: FaIcon(FontAwesomeIcons.qrcode),
|
||||
onTap: null,
|
||||
|
||||
Reference in new issue
Block a user