fix: Systems can be added twice because of missing check by type
Description
Added a check when adding a system that is already in _systemsByType
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.
- [x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
- [x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
- [x] All existing and new tests are passing.
- [ ] I updated/added relevant documentation (doc comments with
///). - [ ] The dart analyzer (
dart analyze) does not report any problems on my PR. - [x] I read and followed the Effective Dart Style Guide.
- [ ] I have added a description of the change under
[next]inCHANGELOG.md. - [x] I am willing to follow-up on review comments in a timely manner.
- [x] I am happy with the current version of this PR and it is ready to be reviewed
- [ ] If the PR still has the
Draftstatus, remove it by clicking on theReady for reviewbutton in this PR.
Breaking Change
Does your PR require Oxygen users to manually update their apps to accommodate your change?
- [ ] Yes, this is a breaking change (please indicate a breaking change in
CHANGELOG.md). - [x] No, this is not a breaking change.
Related Issues
Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR
@Dan-Crane are you able to follow-up on this to get the workflows unblocked?
@wolfenrain hi!) Do i understand correctly, i need to correct what CICD is swearing at?