mirror of
https://github.com/inventree/inventree-app.git
synced 2026-09-09 03:10:14 +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:
@@ -1,9 +1,9 @@
|
||||
import "package:flutter/material.dart";
|
||||
import "package:flutter_tabler_icons/flutter_tabler_icons.dart";
|
||||
|
||||
import "package:inventree/app_colors.dart";
|
||||
import "package:inventree/l10.dart";
|
||||
import "package:inventree/preferences.dart";
|
||||
import "package:inventree/app_colors.dart";
|
||||
|
||||
import "package:inventree/widget/dialogs.dart";
|
||||
|
||||
@@ -68,7 +68,7 @@ class _InvenTreeBarcodeSettingsState
|
||||
),
|
||||
actions: <Widget>[
|
||||
MaterialButton(
|
||||
color: Colors.red,
|
||||
color: COLOR_DANGER,
|
||||
textColor: Colors.white,
|
||||
child: Text(L10().cancel),
|
||||
onPressed: () {
|
||||
@@ -78,7 +78,7 @@ class _InvenTreeBarcodeSettingsState
|
||||
},
|
||||
),
|
||||
MaterialButton(
|
||||
color: Colors.green,
|
||||
color: COLOR_SUCCESS,
|
||||
textColor: Colors.white,
|
||||
child: Text(L10().ok),
|
||||
onPressed: () async {
|
||||
@@ -120,10 +120,7 @@ class _InvenTreeBarcodeSettingsState
|
||||
}
|
||||
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text(L10().barcodeSettings),
|
||||
backgroundColor: COLOR_APP_BAR,
|
||||
),
|
||||
appBar: AppBar(title: Text(L10().barcodeSettings)),
|
||||
body: Container(
|
||||
child: ListView(
|
||||
children: [
|
||||
|
||||
Reference in New Issue
Block a user