mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-13 10:45:29 +00:00
Update barcode / qrcode icons
This commit is contained in:
@ -82,7 +82,7 @@ class InvenTreeDrawer extends StatelessWidget {
|
||||
ListTile(
|
||||
title: Text(L10().scanBarcode),
|
||||
onTap: _scan,
|
||||
leading: FaIcon(FontAwesomeIcons.barcode),
|
||||
leading: Icon(Icons.qr_code_scanner),
|
||||
),
|
||||
ListTile(
|
||||
title: Text(L10().search),
|
||||
|
@ -205,7 +205,7 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
|
||||
_iconButton(
|
||||
context,
|
||||
L10().scanBarcode,
|
||||
FontAwesomeIcons.barcode,
|
||||
Icons.qr_code_scanner,
|
||||
callback: () {
|
||||
_scan(context);
|
||||
}
|
||||
|
@ -372,7 +372,7 @@ List<Widget> detailTiles() {
|
||||
ListTile(
|
||||
title: Text(L10().barcodeScanInItems),
|
||||
leading: FaIcon(FontAwesomeIcons.exchangeAlt, color: COLOR_CLICK),
|
||||
trailing: FaIcon(FontAwesomeIcons.qrcode),
|
||||
trailing: Icon(Icons.qr_code),
|
||||
onTap: () {
|
||||
|
||||
var _loc = location;
|
||||
@ -400,7 +400,7 @@ List<Widget> detailTiles() {
|
||||
ListTile(
|
||||
title: Text("Move Stock Location"),
|
||||
leading: FaIcon(FontAwesomeIcons.sitemap),
|
||||
trailing: FaIcon(FontAwesomeIcons.qrcode),
|
||||
trailing: Icon(Icons.qr_code),
|
||||
)
|
||||
);
|
||||
*/
|
||||
|
@ -453,7 +453,7 @@ class _PartDisplayState extends RefreshableState<PartDetailWidget> {
|
||||
ListTile(
|
||||
title: Text(L10().barcodeScanItem),
|
||||
leading: FaIcon(FontAwesomeIcons.box),
|
||||
trailing: FaIcon(FontAwesomeIcons.qrcode),
|
||||
trailing: Icon(Icons.qr_code),
|
||||
onTap: () {
|
||||
// TODO
|
||||
},
|
||||
|
@ -798,7 +798,7 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
|
||||
ListTile(
|
||||
title: Text(L10().scanIntoLocation),
|
||||
leading: FaIcon(FontAwesomeIcons.exchangeAlt, color: COLOR_CLICK),
|
||||
trailing: FaIcon(FontAwesomeIcons.qrcode),
|
||||
trailing: Icon(Icons.qr_code),
|
||||
onTap: () {
|
||||
Navigator.push(
|
||||
context,
|
||||
@ -815,8 +815,8 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
|
||||
tiles.add(
|
||||
ListTile(
|
||||
title: Text(L10().barcodeAssign),
|
||||
leading: FaIcon(FontAwesomeIcons.barcode, color: COLOR_CLICK),
|
||||
trailing: FaIcon(FontAwesomeIcons.qrcode),
|
||||
leading: Icon(Icons.qr_code),
|
||||
trailing: Icon(Icons.qr_code_scanner),
|
||||
onTap: () {
|
||||
|
||||
var handler = UniqueBarcodeHandler((String hash) {
|
||||
@ -831,7 +831,7 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
|
||||
showSnackIcon(
|
||||
L10().barcodeAssigned,
|
||||
success: true,
|
||||
icon: FontAwesomeIcons.qrcode
|
||||
icon: Icons.qr_code,
|
||||
);
|
||||
|
||||
refresh();
|
||||
@ -850,7 +850,7 @@ class _StockItemDisplayState extends RefreshableState<StockDetailWidget> {
|
||||
tiles.add(
|
||||
ListTile(
|
||||
title: Text(L10().barcodeUnassign),
|
||||
leading: FaIcon(FontAwesomeIcons.barcode, color: COLOR_CLICK),
|
||||
leading: Icon(Icons.qr_code, color: COLOR_CLICK),
|
||||
onTap: () {
|
||||
_unassignBarcode(context);
|
||||
}
|
||||
|
Reference in New Issue
Block a user