mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-15 03:35:28 +00:00
Updated dependencies (#255)
* Bump android compile and target version, also flutter dependencies and resolve issues * Remove deprecated splashscreen and added support for new Android 12 version. * Updated workflow action versions and flutter sdk * Resolved linting issues * Resolved test binding issues
This commit is contained in:
@ -263,7 +263,7 @@ class _SearchDisplayState extends RefreshableState<SearchWidget> {
|
||||
),
|
||||
trailing: GestureDetector(
|
||||
child: FaIcon(
|
||||
searchController.text.isEmpty ? FontAwesomeIcons.search : FontAwesomeIcons.backspace,
|
||||
searchController.text.isEmpty ? FontAwesomeIcons.magnifyingGlass : FontAwesomeIcons.deleteLeft,
|
||||
color: searchController.text.isEmpty ? COLOR_CLICK : COLOR_DANGER,
|
||||
),
|
||||
onTap: () {
|
||||
@ -331,7 +331,7 @@ class _SearchDisplayState extends RefreshableState<SearchWidget> {
|
||||
results.add(
|
||||
ListTile(
|
||||
title: Text(L10().stockItems),
|
||||
leading: FaIcon(FontAwesomeIcons.boxes),
|
||||
leading: FaIcon(FontAwesomeIcons.boxesStacked),
|
||||
trailing: Text("${nStockResults}"),
|
||||
onTap: () {
|
||||
Navigator.push(
|
||||
@ -354,7 +354,7 @@ class _SearchDisplayState extends RefreshableState<SearchWidget> {
|
||||
results.add(
|
||||
ListTile(
|
||||
title: Text(L10().stockLocations),
|
||||
leading: FaIcon(FontAwesomeIcons.mapMarkerAlt),
|
||||
leading: FaIcon(FontAwesomeIcons.locationDot),
|
||||
trailing: Text("${nLocationResults}"),
|
||||
onTap: () {
|
||||
Navigator.push(
|
||||
@ -402,7 +402,7 @@ class _SearchDisplayState extends RefreshableState<SearchWidget> {
|
||||
results.add(
|
||||
ListTile(
|
||||
title: Text(L10().purchaseOrders),
|
||||
leading: FaIcon(FontAwesomeIcons.shoppingCart),
|
||||
leading: FaIcon(FontAwesomeIcons.cartShopping),
|
||||
trailing: Text("${nPurchaseOrderResults}"),
|
||||
onTap: () {
|
||||
Navigator.push(
|
||||
@ -424,7 +424,7 @@ class _SearchDisplayState extends RefreshableState<SearchWidget> {
|
||||
tiles.add(
|
||||
ListTile(
|
||||
title: Text(L10().searching),
|
||||
leading: FaIcon(FontAwesomeIcons.search),
|
||||
leading: FaIcon(FontAwesomeIcons.magnifyingGlass),
|
||||
trailing: CircularProgressIndicator(),
|
||||
)
|
||||
);
|
||||
@ -437,7 +437,7 @@ class _SearchDisplayState extends RefreshableState<SearchWidget> {
|
||||
L10().queryNoResults,
|
||||
style: TextStyle(fontStyle: FontStyle.italic),
|
||||
),
|
||||
leading: FaIcon(FontAwesomeIcons.searchMinus),
|
||||
leading: FaIcon(FontAwesomeIcons.magnifyingGlassMinus),
|
||||
)
|
||||
);
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user