Reload WebViewController on iOS only
This commit is contained in:
parent
cc7862f9b2
commit
22bfd813df
1 changed files with 1 additions and 1 deletions
|
|
@ -287,7 +287,7 @@ abstract class VideoStoreBase with Store {
|
|||
void dispose() {
|
||||
// Not ideal, but seems like the only way of disposing of the video properly.
|
||||
// Will both prevent the video from continuing to play when dismissed and closes PiP on iOS.
|
||||
controller?.reload();
|
||||
if (Platform.isIOS) controller?.reload();
|
||||
|
||||
_disposeOverlayReaction();
|
||||
floating.dispose();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue