[mob] Fix stream cancellation for deeplink
This commit is contained in:
@@ -229,6 +229,9 @@ class _HomeWidgetState extends State<HomeWidget> {
|
||||
});
|
||||
});
|
||||
|
||||
// MediaExtension plugin handles the deeplink for android
|
||||
// [todo 4/Feb/2025]We need to validate if calling this method doesn't break
|
||||
// android deep linking
|
||||
Platform.isIOS ? _initDeepLinkSubscriptionForPublicAlbums() : null;
|
||||
|
||||
// For sharing images coming from outside the app
|
||||
@@ -426,7 +429,9 @@ class _HomeWidgetState extends State<HomeWidget> {
|
||||
_collectionUpdatedEvent.cancel();
|
||||
isOnSearchTabNotifier.dispose();
|
||||
_pageController.dispose();
|
||||
_publicAlbumLinkSubscription.cancel();
|
||||
if (Platform.isIOS) {
|
||||
_publicAlbumLinkSubscription.cancel();
|
||||
}
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user