parent
1faa5e2f78
commit
8ff63c9492
1 changed files with 2 additions and 1 deletions
|
@ -97,7 +97,8 @@ class _GraphViewState extends State<GraphView> {
|
||||||
super.initState();
|
super.initState();
|
||||||
loadWallet();
|
loadWallet();
|
||||||
SharedPreferences.getInstance().then((s) {
|
SharedPreferences.getInstance().then((s) {
|
||||||
chartType = s.getInt("monthlygraph") ?? 2;
|
chartType = s.getInt("yearlygraph") ?? 1;
|
||||||
|
logger.d(chartType);
|
||||||
setState(() {});
|
setState(() {});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue