What changed, and why it matters
This commit only reformats Dart source code (whitespace and line breaks). It does not change any program logic, function behavior, or security properties.
Recommended action
No security action needed; this is a cosmetic formatting commit.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff is a pure dart format style change. RGBLuminanceSource(...) arguments are collapsed from multi-line to single-line, and _scanImage is collapsed from two lines to one. No identifiers, values, control flow, or dependencies changed.
Changed components
lib/utilities/qr_image_decoder.dartlib/widgets/desktop/qr_code_scanner_dialog.dartInspect captured patch +2 / −7
### lib/utilities/qr_image_decoder.dart
@@ -21,11 +21,7 @@ String? decodeQrFromImageBytes(Uint8List bytes) {
String? decodeQrFromImage(img.Image image) {
final LuminanceSource source;
try {
- source = RGBLuminanceSource(
- image.width,
- image.height,
- _argbPixels(image),
- );
+ source = RGBLuminanceSource(image.width, image.height, _argbPixels(image));
} catch (_) {
return null;
}
### lib/widgets/desktop/qr_code_scanner_dialog.dart
@@ -386,8 +386,7 @@ class _QrCodeScannerDialogState extends State<QrCodeScannerDialog> {
}
}
- Future<String?> _scanImage(img.Image image) async =>
- decodeQrFromImage(image);
+ Future<String?> _scanImage(img.Image image) async => decodeQrFromImage(image);
Widget _buildCameraView(BuildContext context) {
if (Platform.isWindows && _isCameraOpen) {Risk score
Our methodology →Why this scored 15/100
Human-validated context
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
No validated notes yet.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.