37 Commits

Author SHA1 Message Date
bb564f1511 Settings: Use SwitchListTile instead of our custom widget
I didn't know this widget existed.
2019-11-02 10:56:28 +01:00
0d760348ce Settings: Split widgets into their own file 2019-11-02 10:40:03 +01:00
ffc0af12a3 Enable prefer_const_constructors 2019-10-20 01:11:53 +01:00
e8d8c58bff Setting Dialogs: Remove margins and add a Cancel button 2019-10-19 12:07:31 +01:00
c2247c26e9 Settings: Use Radio buttons in dialogs
Instead of highlighting the last selected option.
2019-10-19 12:02:13 +01:00
b4fd9d33f7 Settings: Make 'Dark Theme' a toggle
There are just two options. It doesn't make sense to open a dialog box
and then let the user choose.
2019-10-19 11:53:29 +01:00
fbb1b12cb2 Settings: Use a switch instead of a checkbox
Follows the Material Design scheme better
2019-10-11 02:30:45 +02:00
5b25fd56c1 Settings: Git Author Email: Mark keyboard type as email 2019-10-10 16:58:12 +02:00
678bf7b879 Fix warning 2019-10-08 14:55:00 +02:00
2238e8343f Remove preferences dependency
It doesn't follow the Material Design spec, and usually required a
PreferencesService to be running. It is easier to just create our own
widgets.
2019-10-08 14:52:09 +02:00
e331e76c4f Settings: Replace CheckboxPreference with BoolPreference
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.
2019-10-08 14:50:18 +02:00
d606e04ef0 NoteFileNameFormat: Improve the Settings
* 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.
2019-10-08 14:37:57 +02:00
e0e90f3819 Settings: Change Theme dropDown to AlertBox
This follows the MaterialDesign guides and also looks way better
2019-10-08 14:22:38 +02:00
70cc57f89c FontSize Dialog: Highlight the prev font size 2019-10-08 14:08:45 +02:00
e65053e437 NoteFontSize: Simplify the code 2019-10-08 13:57:34 +02:00
276a3bf976 Setting Font Size: Improve the choosing dialog
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.
2019-10-07 21:10:21 +02:00
05fb3da7c2 Settings: Align Header with text
It was weird that the rest of the text did not have the same margin.
2019-10-07 20:36:23 +02:00
a60de98e8f Settings: Rename section to 'Git Author'
Instead of 'Git Settings'
2019-10-07 19:33:23 +02:00
69003cf0ac Rename package from journal -> gitjournal
It's about time.
2019-10-07 19:30:50 +02:00
8d717cbaeb Allow Analytics collection and Crash report collection to be disabled
As the developer I really don't want users to disable these, but as
a User, I always want the option, so I should include it.
2019-10-06 12:40:49 +02:00
383acfeff9 Remove unused variable 2019-09-25 16:24:27 +02:00
957e493494 Add a basic dark theme
It's not that pretty, but this adds the scaffolding.
2019-09-25 15:54:37 +02:00
11a9023e99 Allow the Note FileName to be configured
This is super ugly, but it solves a real use case, and hopefully I'll
eventually get around to improving the UI of the Settings page.
2019-09-25 15:41:19 +02:00
1f88d4ddef SettingsUI: Allow the FontSize to be configured 2019-09-25 15:36:48 +02:00
2bfd05a532 Fix new flutter analyze problems
Flutter analyze seems to have gotten smarter
2019-07-18 01:13:39 +02:00
4029971a63 Fix null value
Text widget cannot accept a null value as the text value.
2019-02-23 02:11:43 +01:00
c085475d9b Feedback: Send us the version number of the app 2019-02-15 13:13:35 +01:00
f854baa3b1 Make the settings page a bit prettier 2019-02-15 12:40:02 +01:00
6aedcfce96 Settings Screen: Remove minor code duplication 2019-02-15 12:28:42 +01:00
acede95536 Dart: Add analysis_options
For now I've mostly tried to follow the same style guide as the flutter
repository, with many options disabled. Eventually, maybe it would make
sense to be far stricter.
2019-02-13 13:08:15 +01:00
c7915d8feb Settings Screen: Actually save the gitAuthor + email
There is too much code duplication over here, but - meh - I'll clean it
up later.
2019-02-09 16:30:12 +01:00
d4d402490a Settings: Highlight debug version
Since we no longer have the debug banner, it's nice to have a way to
figure out what version we are running.
2019-01-23 20:20:51 +01:00
a7d366e7c6 Settings: Try to add a header
It still looks ugly as fuck
2019-01-23 13:39:54 +01:00
75d86dfa99 Settings: Add 'GitAuthor' and 'Git Author Email'
These are just dummy values for now and cannot be actually changed.
2019-01-23 13:29:26 +01:00
7ba6f1eb77 Improve VersionNumberButton 2019-01-18 13:54:08 +01:00
7162663cd9 Settings Page: Add the appName + version Number 2019-01-18 13:50:37 +01:00
4fc8201427 Add an empty Settings page 2019-01-18 13:13:13 +01:00