Skip to content

feat(CommonHeader): Reduce flags to used value - #25

Merged
jbeyerstedt merged 1 commit into
mainfrom
feat/common-header-flags
Jul 15, 2026
Merged

feat(CommonHeader): Reduce flags to used value#25
jbeyerstedt merged 1 commit into
mainfrom
feat/common-header-flags

Conversation

@jbeyerstedt

@jbeyerstedt jbeyerstedt commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

The only flag used in the CommonHeader is "is mobile". So it doesn't make much sense to pass the full flags vector.

If more flags are used, the input should probably be changed to a struct with one bool per flag. But extending such a structure will be a breaking change anyways, so we can also use a bool for now and switch to a struct when needed.

@jbeyerstedt jbeyerstedt added the enhancement New feature or request label Jul 15, 2026
@jbeyerstedt
jbeyerstedt force-pushed the feat/common-header-flags branch from 7049f76 to 6add84a Compare July 15, 2026 14:08
@jbeyerstedt
jbeyerstedt merged commit bd4d976 into main Jul 15, 2026
3 checks passed
@jbeyerstedt
jbeyerstedt deleted the feat/common-header-flags branch July 15, 2026 14:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants