mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-13 10:45:29 +00:00
Fixes for static analysis
This commit is contained in:
@ -48,9 +48,9 @@ class FilePickerDialog {
|
||||
if (path != null) {
|
||||
return File(path);
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
// Present a dialog to pick a file, either from local file system or from camera
|
||||
|
@ -71,6 +71,8 @@ class _SubmitFeedbackState extends State<SubmitFeedbackWidget> {
|
||||
if (value == null || value.trim().isEmpty) {
|
||||
return L10().valueCannotBeEmpty;
|
||||
}
|
||||
|
||||
return null;
|
||||
},
|
||||
onSaved: (value) {
|
||||
if (value != null) {
|
||||
|
Reference in New Issue
Block a user