Skip to content
Open
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