Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading the dependencies and versions #245

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
6 changes: 3 additions & 3 deletions lib/Pages/torrent_screen/widgets/focused_menu_items_list.dart
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ List<FocusedMenuItem> getFocusedMenuItems(BuildContext context,
},
trailingIcon: Icon(
model.isInitialSeeding
? FontAwesomeIcons.checkSquare
? FontAwesomeIcons.squareCheck
: FontAwesomeIcons.square,
color: Colors.black,
size: 20,
Expand All @@ -266,7 +266,7 @@ List<FocusedMenuItem> getFocusedMenuItems(BuildContext context,
},
trailingIcon: Icon(
model.isSequential
? FontAwesomeIcons.checkSquare
? FontAwesomeIcons.squareCheck
: FontAwesomeIcons.square,
color: Colors.black,
size: 20,
Expand All @@ -293,7 +293,7 @@ List<FocusedMenuItem> getFocusedMenuItems(BuildContext context,
}
},
trailingIcon: Icon(
FontAwesomeIcons.fileDownload,
FontAwesomeIcons.fileArrowDown,
color: Colors.black,
size: 20,
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class _SearchTorrentTextFieldState extends State<SearchTorrentTextField> {
hintText: context.l10n.search_torrent_text,
prefixIcon: IconButton(
icon: Icon(
FontAwesomeIcons.sortAlphaUp,
FontAwesomeIcons.arrowUpAZ,
color: ThemeBloc.theme(widget.themeIndex).primaryColorDark,
size: 22,
),
Expand Down
8 changes: 5 additions & 3 deletions lib/Pages/video_stream_screen/video_stream_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,11 @@ class _VideoStreamScreenState extends State<VideoStreamScreen> {
ApiEndpoints.playTorrentVideo +
'${widget.args.hash}/contents/${widget.args.index}/data';

videoPlayerController = VideoPlayerController.network(url, httpHeaders: {
'Cookie': BlocProvider.of<UserDetailBloc>(context, listen: false).token
})
videoPlayerController = VideoPlayerController.networkUrl(url as Uri,
httpHeaders: {
'Cookie':
BlocProvider.of<UserDetailBloc>(context, listen: false).token
})
..initialize().then((_) {
setState(() {});
});
Expand Down
Loading
Loading