It used to get discarded which was really bad usability. The worst case
is that the user didn't want to save the note, and then they can easily
just delete it, but we shouldn't loose information.
The OAuthFlow doesn't work properly in ios, for now lets just ignore
these exceptions as short of forking the url_launcher, I see no other
way of fixing this.
If the Flutter team can release a fix in a week or so, then I'll just
wait, otherwise I'll probably just fork the url_launcher and close the
FSafariViewController on receiving an error. It wouldn't be a proper
fix, but it will work around the issue.
https://github.com/flutter/flutter/issues/30642
This reverts commit 860a811568b74f50754377ce14520fe03e2d2f28.
I'm not convinced that this isn't disabling crashlytics completely. I'll
try this again, later.
There is no way to exit the host setup otherwise. In Android, there is
the back button, but that doesn't exist in ios. This took me way too
long to implement, and even now, I'm not convinced that the button looks
right.
We ideally should use the same method in both the bug report and
feedback, however, bug reports require an attachment, and then plugin
being used doesn't work if an email client is not installed.
https://github.com/flutter/flutter/issues/10032
The flutter default Snackbars are a major PITA to use as they require a
Scaffold, additionaly, they will not be shown if the parent Scaffold is
destroyed, which is the case when deleting a note and returning to the
main screen.
This way we can adapt the settings in the future to use the most
commonly changed items first.
We're not logging the 'gitAuthor' or 'gitEmail' as that includes
personally identifyable info.
It's better to have our own small class for this as the one provided
with the library tries to contact the PreferencesService and that isn't
what we want.
* Use a DialogBox instead of a drop-down - This conforms better to the
Material design spec.
* Make the enum into a class. It makes managing it much easier. And
avoids code duplication.
Now show how big the font will be in a dialog. This way the user can
make a more informed decission, instead of just choosing "Small" vs
"Normal" and not knowing how big that actually would be.