use new queuelist
This commit is contained in:
parent
43ffa9c186
commit
e1539e4d33
2 changed files with 43 additions and 5 deletions
|
|
@ -52,10 +52,8 @@ function FeedCtrl($scope, $routeParams, $location, feeds, pageSwitcher) {
|
|||
pageSwitcher.setBack('feeds');
|
||||
}
|
||||
|
||||
function QueueListCtrl($scope, $rootScope, pageSwitcher, feedItems, feeds, queueList) {
|
||||
$scope.queue = [];
|
||||
queueList.init($scope);
|
||||
feedItems.listQueue(queueList);
|
||||
function QueueListCtrl($scope, $rootScope, pageSwitcher, feedItems, feeds, downloader, newQueueList) {
|
||||
$scope.queue = newQueueList.getQueueList();
|
||||
|
||||
$scope.playItem = function(id) {
|
||||
feedItems.get(id, function(feedItem) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue