Browse Source

FileInfo: handle null updation time for file

Neeraj Gupta 3 years ago
parent
commit
e89d1939cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/ui/file_info_dialog.dart

+ 1 - 1
lib/ui/file_info_dialog.dart

@@ -137,7 +137,7 @@ class _FileInfoWidgetState extends State<FileInfoWidget> {
     if (_isImage && _exif != null) {
       items.add(_getExifWidgets(_exif));
     }
-    if (widget.file.uploadedFileID != null) {
+    if (widget.file.uploadedFileID != null && widget.file.updationTime != null) {
       items.addAll(
         [
           Row(