mirror of
https://github.com/inventree/inventree-app.git
synced 2026-10-08 08:07:09 +00:00
Change from fontawesome to tabler icons (#516)
* Change from fontawesome to tabler icons - Consistent with the frontend * Cleanup conflicts * Use double quotes * remove unused import * Update release notes * Migrate some google icons to tabler icons * Icon update * Properly support display of custom icons * Fix lookup
This commit is contained in:
1 parent
42de3fd7d4
commit
c9cad2f89f
53 files changed
+378
-1864
No files matched your search
@@ -1,5 +1,5 @@
|
||||
import "package:flutter/material.dart";
|
||||
import "package:font_awesome_flutter/font_awesome_flutter.dart";
|
||||
import "package:flutter_tabler_icons/flutter_tabler_icons.dart";
|
||||
|
||||
import "package:inventree/l10.dart";
|
||||
import "package:inventree/preferences.dart";
|
||||
@@ -105,7 +105,7 @@ class _InvenTreeBarcodeSettingsState extends State<InvenTreeBarcodeSettingsWidge
|
||||
break;
|
||||
case BARCODE_CONTROLLER_CAMERA:
|
||||
default:
|
||||
barcodeInputIcon = FaIcon(FontAwesomeIcons.camera);
|
||||
barcodeInputIcon = Icon(TablerIcons.camera);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ class _InvenTreeBarcodeSettingsState extends State<InvenTreeBarcodeSettingsWidge
|
||||
ListTile(
|
||||
title: Text(L10().cameraInternal),
|
||||
subtitle: Text(L10().cameraInternalDetail),
|
||||
leading: FaIcon(FontAwesomeIcons.camera),
|
||||
leading: Icon(TablerIcons.camera),
|
||||
),
|
||||
ListTile(
|
||||
title: Text(L10().scannerExternal),
|
||||
@@ -147,7 +147,7 @@ class _InvenTreeBarcodeSettingsState extends State<InvenTreeBarcodeSettingsWidge
|
||||
ListTile(
|
||||
title: Text(L10().barcodeScanDelay),
|
||||
subtitle: Text(L10().barcodeScanDelayDetail),
|
||||
leading: FaIcon(FontAwesomeIcons.stopwatch),
|
||||
leading: Icon(TablerIcons.hourglass),
|
||||
trailing: GestureDetector(
|
||||
child: Text("${barcodeScanDelay} ms"),
|
||||
onTap: () {
|
||||
|
||||
Reference in new issue
Block a user