mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-13 10:45:29 +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,6 +1,6 @@
|
||||
import "dart:io";
|
||||
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/app_colors.dart";
|
||||
import "package:inventree/preferences.dart";
|
||||
|
||||
@ -124,11 +124,11 @@ class _CameraBarcodeControllerState extends InvenTreeBarcodeControllerState {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
Widget actionIcon =
|
||||
FaIcon(FontAwesomeIcons.circlePause, color: COLOR_WARNING, size: 64);
|
||||
Icon(TablerIcons.player_pause, color: COLOR_WARNING, size: 64);
|
||||
|
||||
if (scanning_paused) {
|
||||
actionIcon =
|
||||
FaIcon(FontAwesomeIcons.circlePlay, color: COLOR_ACTION, size: 64);
|
||||
Icon(TablerIcons.player_play, color: COLOR_ACTION, size: 64);
|
||||
}
|
||||
|
||||
String info_text = scanning_paused ? L10().barcodeScanPaused : L10().barcodeScanPause;
|
||||
|
Reference in New Issue
Block a user