Skip to content

Commit

Permalink
Adjust colors of action buttons (#333)
Browse files Browse the repository at this point in the history
Fixes #330
  • Loading branch information
SchrodingersGat committed Apr 20, 2023
1 parent ac57c53 commit 1d6708f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions assets/release_notes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
### 0.11.6 - April 2023
---

- Fix action button colors
- Added Norwegian translations

### 0.11.5 - April 2023
Expand Down
8 changes: 4 additions & 4 deletions lib/widget/refreshable_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import "package:flutter/material.dart";
import "package:flutter_speed_dial/flutter_speed_dial.dart";

import "package:inventree/api.dart";
import "package:inventree/app_colors.dart";
import "package:inventree/barcode.dart";

import "package:inventree/widget/back.dart";
Expand Down Expand Up @@ -63,11 +64,10 @@ mixin BaseWidgetProperties {
BottomAppBar? buildBottomAppBar(BuildContext context, GlobalKey<ScaffoldState> key) {

const double iconSize = 32;
const Color iconColor = Colors.blueGrey;

List<Widget> icons = [
IconButton(
icon: Icon(Icons.menu, color: iconColor),
icon: Icon(Icons.menu, color: COLOR_ACTION),
iconSize: iconSize,
onPressed: () {
if (key.currentState != null) {
Expand All @@ -76,7 +76,7 @@ mixin BaseWidgetProperties {
},
),
IconButton(
icon: Icon(Icons.search, color: iconColor),
icon: Icon(Icons.search, color: COLOR_ACTION),
iconSize: iconSize,
onPressed: () {
if (InvenTreeAPI().checkConnection()) {
Expand All @@ -90,7 +90,7 @@ mixin BaseWidgetProperties {
},
),
IconButton(
icon: Icon(Icons.qr_code_scanner, color: iconColor),
icon: Icon(Icons.qr_code_scanner, color: COLOR_ACTION),
iconSize: iconSize,
onPressed: () {
if (InvenTreeAPI().checkConnection()) {
Expand Down

0 comments on commit 1d6708f

Please sign in to comment.