mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
Check widget existence when top revealer finishes reveal
Prevent errors when app was closed during top revealer animation.
This commit is contained in:
@@ -194,6 +194,7 @@ class ClapperRevealerTop extends CustomRevealer
|
||||
|
||||
if(this.child_revealed) {
|
||||
const clapperWidget = this.root.child;
|
||||
if(!clapperWidget) return;
|
||||
|
||||
clapperWidget._setHideControlsTimeout();
|
||||
}
|
||||
|
Reference in New Issue
Block a user