It doesn't fit on my OnePlus5 otherwise, and the only other fix is
making the logo super small.
Though this information which I'm showing - the logo + text, is totally
just filler info. It isn't required, as the user knows which app they
launched.
It feels much better typing when there is more free space, but this
might just be only on my mobile which is kinda big. How do I choose this
value in a screen independent manner?
Also add a button for copying the public key. Ideally I would have liked
the text to be selectable but Flutter doesn't have a widget for that,
and it's much easier to just add a button instead -
https://github.com/flutter/flutter/issues/5422
There were a few cases when since we were calling an async function in
initState, which would then call setState, we would get an exception.
Also this way, the entire logic of the onboarding is in one place, and
the individual screens are far far simpler.
I'd added BitBucket, but bitbucket sucks as it doesn't have any way to
add an ssh key with write access.
With Gitlab I couldn't link to the exact point in the page, but oh well.
I'll try to file a bug with them.
For this journaling app, even though we are treating journal entries as
notes, we don't really any 'id'. Just the filename is quite adequate. In
the future, we can figure out this 'id' nonsense, and if it is even
required given that we're always going to be built on top of a FS.
This sucks balls. Overall, the datetime handling in Dart is really
really bad. It just has the concept of local time or utc time. There are
a few packages which attempt to solve this, but none which really solve
it in the way I would like.
All I want is someway to generate an iso8601 string with the timezone.
And that my DateTime should be aware of the timezone as an offset east
of UTC. Is that really so hard?
In the alpha version for now. The --build-number flag fails right now,
this seems to be a regression in flutter which has been fixed, but the
new version has yet to be released.
So, when I put this into a proper CI, it's going to fail :(