Skip to content

fix width/height when value is lower than 1 - #14

Merged
OS-ruimoreiramendes merged 2 commits into
feat/RMET-4099/camera-unificationfrom
fix/RMET-5024/width-and-height
Mar 23, 2026
Merged

fix width/height when value is lower than 1#14
OS-ruimoreiramendes merged 2 commits into
feat/RMET-4099/camera-unificationfrom
fix/RMET-5024/width-and-height

Conversation

@OS-ruimoreiramendes

@OS-ruimoreiramendes OS-ruimoreiramendes commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Comment on lines +223 to +224
val width = call.getInt("targetWidth", 0)!!
val height = call.getInt("targetHeight", 0)!!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think in general we could / should avoid null assertions, but this doesn't need to happen in this PR.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can fix it in this PR, for all the variables, not only this two

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you want to, that's fine in my book :D

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer to fix it rigth now, otherwise this will never get fixed xD

@OS-ruimoreiramendes
OS-ruimoreiramendes merged commit f18cfc8 into feat/RMET-4099/camera-unification Mar 23, 2026
5 of 6 checks passed
@OS-ruimoreiramendes
OS-ruimoreiramendes deleted the fix/RMET-5024/width-and-height branch March 23, 2026 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants