mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Ensure that flutter errors are also reported to sentry!
This commit is contained in:
parent
d0aa6a61ba
commit
c84941695d
3 changed files with 22 additions and 26 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue