Skip to content

Commit

Permalink
fix pop issue on android
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryQuan committed Oct 24, 2020
1 parent e8e72a9 commit 0a29223
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions AnimeGo/lib/ui/page/EpisodePage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,10 @@ class _EpisodePageState extends State<EpisodePage>

/// Watch with in app player
openInAppPlayer(VideoServer e) {
// TODO: why pop here? This makes the iOS unusable
// Navigator.pop(context);
// Only android has the
if (Util.isAndroid()) {
Navigator.pop(context);
}

Navigator.push(
context,
Expand Down

0 comments on commit 0a29223

Please sign in to comment.