Skip to content

Commit

Permalink
fix:remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
zjt123 authored and andycall committed May 24, 2023
1 parent 0612724 commit 44a3d6e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions webf/lib/src/launcher/controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -629,14 +629,8 @@ class WebFViewController implements WidgetsBindingObserver, ElementsBindingObser
document.visibilityChange(VisibilityState.hidden);
break;
case AppLifecycleState.inactive:
if (document.visibilityState != VisibilityState.hidden) {
document.visibilityChange(VisibilityState.hidden);
}
break;
case AppLifecycleState.detached:
if (document.visibilityState != VisibilityState.hidden) {
document.visibilityChange(VisibilityState.hidden);
}
break;
}
}
Expand Down

0 comments on commit 44a3d6e

Please sign in to comment.