13 Commits

Author SHA1 Message Date
7fd1c99287 Use Provider's context.read/watch
Instead of the legacy Provider.of. Less scope of bugs this way and the
code is so much nicer to read.
2023-12-06 08:20:40 +01:00
657721adc6 Update dart-git and stop using the Result class
Instead we're going to move back to standard exceptions.

Using a custom Result class has created far far more problems
- The Stacktraces aren't always right
- Sometimes one forgets to check the Result error
- All other exception throwing code needing to be converted to Results
- Non idiomatic Dart code

I think it's better to just go back to exceptions. They have their
problems, but overall, I think it's a better approach.
2023-11-24 14:03:30 +01:00
605f4ab1c9 Convert all settings to GjSetting 2022-11-27 20:09:49 +01:00
6d453ee62a Rename app_localization_context to l10n
It's easier to enter and this file now contains far more things
2022-11-27 17:52:03 +01:00
6f2ce4a6b5 Port more uses of LocaleKeys to new translation system 2022-11-27 17:42:26 +01:00
b925da7a47 Use the generated localization instead of easy_localization
Not everywhere, but a large part of the code base.

This way, hot reloading will also reload the strings which makes for
such a better developer experience.
2022-11-19 03:02:01 +01:00
ae9228f65e Use super.key
Makes the code a bit more readable.
2022-08-25 11:32:25 +02:00
149859b09f Setup: Stop depending on the GitConfig class
Instead mark it as an interface that must be implemented.
2022-06-26 16:12:38 +02:00
6acb5963bc Try to simplify the SettingsOption class
This way each option will be easier write. Hopefully.
2022-06-22 12:03:27 +02:00
8043a27b27 Allow SSH Key type to be configurable
Azure only supports RSA keys.

Fixes #633
2022-06-22 11:17:19 +02:00
d5cac26b4f Remove original Settings screen 2021-10-30 13:25:41 +02:00
ff1e56271d Move SettingsHeader to its own file 2021-10-30 13:15:03 +02:00
3b468f209b Settings2: Hook up Git Settings 2021-10-30 12:55:14 +02:00