carp-dk / carp-dk/flutter-plugins
[light 2.0.0] Throwing away precision by casting lux available as double to int
Open
bugfix
- Dominant language
- Dart
- Stars
- 608
- Forks
- 735
- Avg merge
- 1m
- Merged PRs (30d)
- 3
Description
See: https://github.com/cph-cachet/flutter-plugins/blob/master/packages/light/android/src/main/java/dk/cachet/light/LightPlugin.java
In line 71:
`int lux = (int) event.values[0];`
Is there a reason for this cast?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.