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