12 Commits

Author SHA1 Message Date
5571fdb65e Use time.dart
I'm sacrificing const code for readability. So maybe I'll lose a bit of
performance, but this is so much easier to read.
2020-11-10 19:07:09 +01:00
7fc6847933 Remote Settings: Display the git host 2020-11-09 12:55:54 +01:00
0d22fa76c4 isolate firebase analytics code to one file
This way it'll be easier to remove in the future
2020-11-09 11:16:21 +01:00
6205e47aa3 Move adding a single file to an empty repo to after the merge
Otherwise this is always added.
2020-11-08 10:34:27 +01:00
2bb0646f48 Log errors if public/private key is empty
This shouldn't ever happen. It means a migration has gone wrong.
2020-11-07 10:05:41 +01:00
aa805f80c5 SyncButton: Show a different icon on error 2020-10-23 15:35:46 +02:00
a9abf5d9b3 Make Setting Migrations independent of the Settings class
That class is going to lose many of its members, and I don't want to
keep the old ones just for compatibility sake.

Also give each setting the concept on an id - will be used later.
2020-10-23 14:38:16 +02:00
c9673da721 Move Setting migrations to its own file 2020-10-23 14:23:37 +02:00
f75e119995 Make Settings take the folderName as a parameter 2020-10-23 02:29:48 +02:00
b2aa96cbe1 Give a Repository a name 2020-10-23 02:10:42 +02:00
43206219da Merge AppState into Repository
The 'AppState' was more of a Repository state, and it's easier if it
lives inside the Repository class.
2020-10-23 02:01:45 +02:00
770394a8f9 Rename StateContainer to Respository 2020-10-23 01:38:47 +02:00