fix staff mode sharepref
This commit is contained in:
@@ -90,7 +90,7 @@ class _HomePageState extends State<HomePage> {
|
||||
if (isCustomer) {
|
||||
isFcs[0] = false;
|
||||
} else {
|
||||
isFcs[0] = staffMode;
|
||||
isFcs[0] = staffMode ?? false;
|
||||
}
|
||||
});
|
||||
}
|
||||
@@ -341,6 +341,7 @@ class _HomePageState extends State<HomePage> {
|
||||
|
||||
final fcsToggle = ToggleButtons(
|
||||
selectedColor: Colors.white,
|
||||
color: Colors.blue,
|
||||
children: <Widget>[
|
||||
Icon(MaterialCommunityIcons.worker),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user