Elias Projahn
f0644e4058
Add music library path setting
...
This introduces a new state of the backend called "setup". If the
music library path is not set, the backend goes into that state and the
app widget can show the UI to set it up. This also introduces a new
dependency on shared_preferences.
2020-03-28 10:18:52 +01:00
Elias Projahn
723977daec
Properly handle permissions
...
The backend has a new state called "needsPermissions" and the app widget
reacts accordingly.
2020-03-28 09:54:04 +01:00
Elias Projahn
bd844c44ea
Always notify listeners of backend
...
The state object may stay the same while there where in fact changes to
it that require a notification.
2020-03-28 09:52:42 +01:00
Elias Projahn
87582f200d
Load the database asynchronously
...
Now the backend has multiple states including loading and the toplevel
app widget was adapted accordingly.
2020-03-28 09:16:42 +01:00
Elias Projahn
3f0567e688
Make Backend a stateful widget
2020-03-28 08:51:45 +01:00
Elias Projahn
b6eabdbba3
Fix deprecation
2019-12-15 12:29:00 +01:00
Elias Projahn
f7c2393872
Add database to backend
2019-12-03 12:44:24 +01:00
Elias Projahn
17f3040645
Initial commit
2019-12-02 21:05:49 +01:00