π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
[mob][photos] Fix null check operator used on null value exception
ashilkn99405ebc2ef7
diff --git a/mobile/lib/ui/viewer/file/video_widget_media_kit_new.dart b/mobile/lib/ui/viewer/file/video_widget_media_kit_new.dartindex bce3f395ea..058aefc456 100644--- a/mobile/lib/ui/viewer/file/video_widget_media_kit_new.dart+++ b/mobile/lib/ui/viewer/file/video_widget_media_kit_new.dart@@ -353,24 +353,27 @@ class __VideoWidgetState extends State<_VideoWidget> {child: Column(mainAxisAlignment: MainAxisAlignment.center,children: [- Padding(- padding: const EdgeInsets.fromLTRB(- 16,- 12,- 16,- 8,- ),- child: Text(- widget.file.caption!,- overflow: TextOverflow.ellipsis,- maxLines: 1,- style:- getEnteTextTheme(context).mini.copyWith(- color: textBaseDark,- ),- textAlign: TextAlign.center,- ),- ),+ widget.file.caption != null+ ? Padding(+ padding: const EdgeInsets.fromLTRB(+ 16,+ 12,+ 16,+ 8,+ ),+ child: Text(+ widget.file.caption!,+ overflow: TextOverflow.ellipsis,+ maxLines: 1,+ style: getEnteTextTheme(context)+ .mini+ .copyWith(+ color: textBaseDark,+ ),+ textAlign: TextAlign.center,+ ),+ )+ : const SizedBox.shrink(),_SeekBarAndDuration(controller: widget.controller,isSeekingNotifier: _isSeekingNotifier,