8 Commits

Author SHA1 Message Date
28ef551805 On sync error: Show the error a bit better
Do not show 'GitException: error'. We do not need to expose that it was
an exception.
2020-04-02 17:29:03 +02:00
a5fcb19d70 SyncButton: Use cloud download/upload instead of arrows 2020-03-30 13:04:28 +02:00
577b73ff3c SyncButton: Seperate pulling and pushing
This way we also refresh the view after the pulling, as we don't need to
wait for a push for that.
2020-03-30 13:00:28 +02:00
3a3ec76529 StateContainer: Use Provider
This way we can avoid listening for changes in many places.
2020-02-11 19:10:34 +01:00
0c0fd17543 syncNotes: Catch the exception outside the StateContainer
The StateContainer doesn't have access to the snackbar.
2020-02-09 16:32:35 +01:00
a759ad4a23 Combine showSnackbar code
It's annoying to always have to remember to call it. We had forgotten in
one place and that resulted in a lot of noise.
2020-01-27 19:02:44 +01:00
7b40cbf65f SyncButton: Disable if no connectivity 2019-12-26 20:56:30 +01:00
bc9e308971 Move SyncButton to its own file 2019-12-26 20:56:30 +01:00