hans
|
87f86d8117
|
Update service provider
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
|
2025-04-29 16:32:53 +02:00 |
|
hans
|
8711eae4d8
|
Fix updateShouldNotify on ArcaneServiceProvider
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
|
2025-04-29 15:00:48 +02:00 |
|
hans
|
186e6531b2
|
Made the switchEnvironment field in ArcaneEnvironment private (_switchEnvironment)
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
|
2025-04-29 14:16:17 +02:00 |
|
hans
|
b7c55913e9
|
Made ArcaneServiceProvider.of(context) nullable
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
|
2025-04-29 14:16:17 +02:00 |
|
hans
|
1510ded49d
|
Rename onEnvironmentChanged to switchEnvironment
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
|
2025-04-29 14:16:17 +02:00 |
|
hans
|
0c5b947809
|
Logging service:
- added: reset()
- added: `skipAutodetection` option for module, method, and metadata
- added: unregisterInterface()
- Created FileAndLineNumber mixin
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
|
2025-04-29 14:16:17 +02:00 |
|
Hans Kokx
|
e901da8080
|
Added of(context) extension to ArcaneService
|
2025-04-29 14:16:17 +02:00 |
|
hans
|
ac82e93b9d
|
[UNTESTED] Fixes notifiers and adds some additional methods. Adds tests.
Changes:
// ArcaneEnvironment
breaking: context.read<ArcaneEnvironment>() -> ArcaneEnvironment.of(context)
breaking: context.read<ArcaneEnvironment>().state -> ArcaneEnvironment.of(context).environment;
// Feature flag service
added: reset()
// Logging service
added: registerInterface()
added: unregisterInterfaces()
added: unregisterAllInterfaces()
// ArcaneReactiveTheme
fixed: currentMode, dark, light now actually emit new values when changed
added: getters for lightTheme, darkTheme, and systemTheme
TODO: test systemTheme
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
|
2025-04-29 14:16:17 +02:00 |
|
hans
|
c5c41b9dba
|
Added the ability to switch back to normal mode in the environment provider. Adjusted logic to prevent switching to a mode we're already in.
Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
|
2024-09-17 12:31:47 +02:00 |
|
hans
|
56ebaeb346
|
Initial (#1)
Initial release
|
2024-09-11 18:49:35 +02:00 |
|