Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

Avoid code repetition due to break #14

Open
CodedOre opened this issue Nov 12, 2021 · 0 comments
Open

Avoid code repetition due to break #14

CodedOre opened this issue Nov 12, 2021 · 0 comments
Labels
Code Review Good to Start Good Issue to start with if you want to contribute

Comments

@CodedOre
Copy link
Owner

TextUtils contains some code where some text modules are not displayed according to some flags.

The switch statement currently repeats a few lines, due to valac complaining about an break statement in a if scope when the case is not always "broken".

So, we need to see if we can improve this code.

@CodedOre CodedOre added the Good to Start Good Issue to start with if you want to contribute label Mar 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Code Review Good to Start Good Issue to start with if you want to contribute
Projects
None yet
Development

No branches or pull requests

1 participant