fix staff mode sharepref
This commit is contained in:
@@ -90,7 +90,7 @@ class _HomePageState extends State<HomePage> {
|
|||||||
if (isCustomer) {
|
if (isCustomer) {
|
||||||
isFcs[0] = false;
|
isFcs[0] = false;
|
||||||
} else {
|
} else {
|
||||||
isFcs[0] = staffMode;
|
isFcs[0] = staffMode ?? false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -341,6 +341,7 @@ class _HomePageState extends State<HomePage> {
|
|||||||
|
|
||||||
final fcsToggle = ToggleButtons(
|
final fcsToggle = ToggleButtons(
|
||||||
selectedColor: Colors.white,
|
selectedColor: Colors.white,
|
||||||
|
color: Colors.blue,
|
||||||
children: <Widget>[
|
children: <Widget>[
|
||||||
Icon(MaterialCommunityIcons.worker),
|
Icon(MaterialCommunityIcons.worker),
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ name: fcs
|
|||||||
description: FCS Logistics
|
description: FCS Logistics
|
||||||
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||||
|
|
||||||
version: 1.0.0+2
|
version: 1.0.0+3
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=2.7.0 <3.0.0"
|
sdk: ">=2.7.0 <3.0.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user