airmed-dev / meals

Meals is a meal tracker for people with type 1 diabetes
MIT License
6 stars 0 forks source link

Changing data source doesn't apply immediately #18

Closed airmed-dev closed 2 years ago

airmed-dev commented 2 years ago

In the settings page, when changing the datasource it doesn't apply globaly.

The cause of this seems to be that that Store is initiated based on settings only when the app is starting. And when changing the datasource type it is's only changing the name of which datasource is in use, and doesn't create a metric store.