Added settings config

This commit is contained in:
Juan Gilsanz Polo 2023-10-21 21:17:28 +02:00
parent 161628a72a
commit 8c0a5bc98b
6 changed files with 86 additions and 6 deletions

View file

@ -46,6 +46,12 @@ class _TopItemsState extends State<TopItems> {
Colors.grey
];
@override
void initState() {
_showChart = Provider.of<AppConfigProvider>(context, listen: false).showTopItemsChart;
super.initState();
}
@override
Widget build(BuildContext context) {
final statusProvider = Provider.of<StatusProvider>(context);