Push toggle full screen action to the end of the build queue
This commit is contained in:
parent
335cf908fb
commit
b46288ccc8
1 changed files with 3 additions and 1 deletions
|
@ -145,7 +145,9 @@ class _DetailPageState extends State<DetailPage> {
|
|||
},
|
||||
playbackCallback: (isPlaying) {
|
||||
_shouldHideAppBar = isPlaying;
|
||||
_toggleFullScreen();
|
||||
Future.delayed(Duration.zero, () {
|
||||
_toggleFullScreen();
|
||||
});
|
||||
},
|
||||
);
|
||||
_preloadFiles(index);
|
||||
|
|
Loading…
Add table
Reference in a new issue