mirror of
https://github.com/inventree/inventree-app.git
synced 2026-07-21 19:55:55 +00:00
UI updates (#849)
* Updated dashboard - Display "outstanding" badges - Display "overdue" badges - Pull-to-refresh * Remove dead code * Refactor app colors * Add "pending shipments" icon * Remove custom spinner * Refactor error dialog * Updated redirect after login * Refactor login/account pages - Better UX and confirmation messages * Refactor API error messages * Improve token management - Secure storage - Handle session expiry - Per-profile HTTPS certificate checks * Improved error messages
This commit is contained in:
@@ -60,7 +60,7 @@ class _BuildItemDetailWidgetState
|
||||
// Unallocate button
|
||||
buttons.add(
|
||||
SpeedDialChild(
|
||||
child: const Icon(TablerIcons.minus, color: Colors.red),
|
||||
child: Icon(TablerIcons.minus, color: COLOR_DANGER),
|
||||
label: L10().unallocate,
|
||||
onTap: () async {
|
||||
_unallocateStock(context);
|
||||
@@ -99,7 +99,7 @@ class _BuildItemDetailWidgetState
|
||||
L10().unallocateStock,
|
||||
L10().unallocateStockConfirm,
|
||||
icon: TablerIcons.minus,
|
||||
color: Colors.red,
|
||||
color: COLOR_DANGER,
|
||||
acceptText: L10().unallocate,
|
||||
onAccept: () async {
|
||||
widget.item.delete().then((result) {
|
||||
|
||||
Reference in New Issue
Block a user