Skip to content

Commit

Permalink
0.6.0 commit for no scoped storage build
Browse files Browse the repository at this point in the history
  • Loading branch information
lrorpilla committed Apr 4, 2021
2 parents 47b95fe + 02b73ee commit 9b7cc5d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/player.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_vlc_player/flutter_vlc_player.dart';
import 'package:http/http.dart' as http;
import 'package:jidoujisho/main.dart';
import 'package:scrollable_positioned_list/scrollable_positioned_list.dart';
import 'package:subtitle_wrapper_package/data/models/style/subtitle_style.dart';
import 'package:subtitle_wrapper_package/data/models/subtitle.dart';
Expand All @@ -24,6 +25,11 @@ class Player extends StatelessWidget {

@override
Widget build(BuildContext context) {
SystemChrome.setPreferredOrientations([
DeviceOrientation.landscapeLeft,
DeviceOrientation.landscapeRight,
]);

SystemChrome.setEnabledSystemUIOverlays([]);
Wakelock.enable();

Expand Down

0 comments on commit 9b7cc5d

Please sign in to comment.