[mob][photos] fix: Invalid value: Valid value range is empty
This commit is contained in:
@@ -440,7 +440,7 @@ class _HomeWidgetState extends State<HomeWidget> {
|
||||
_intentDataStreamSubscription =
|
||||
ReceiveSharingIntent.instance.getMediaStream().listen(
|
||||
(List<SharedMediaFile> value) {
|
||||
if (value[0].path.contains("albums.ente.io")) {
|
||||
if (value.isNotEmpty && value[0].path.contains("albums.ente.io")) {
|
||||
final uri = Uri.parse(value[0].path);
|
||||
_handlePublicAlbumLink(uri);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user