Download bug fixes, resuming, lyrics, explicit marking
This commit is contained in:
parent
b9004c3004
commit
a494601ab0
10 changed files with 206 additions and 64 deletions
|
|
@ -56,20 +56,20 @@ class LibraryScreen extends StatelessWidget {
|
|||
body: ListView(
|
||||
children: <Widget>[
|
||||
Container(height: 4.0,),
|
||||
if (downloadManager.stopped)
|
||||
if (downloadManager.stopped && downloadManager.queue.length > 0)
|
||||
ListTile(
|
||||
title: Text('Downloads'),
|
||||
leading: Icon(Icons.file_download),
|
||||
subtitle: Text('Downloading is currently stopped, click here to resume.'),
|
||||
onTap: () {
|
||||
downloadManager.updateQueue();
|
||||
downloadManager.start();
|
||||
Navigator.of(context).push(MaterialPageRoute(
|
||||
builder: (context) => DownloadsScreen()
|
||||
));
|
||||
},
|
||||
),
|
||||
//Dirty if to not use columns
|
||||
if (downloadManager.stopped)
|
||||
if (downloadManager.stopped && downloadManager.queue.length > 0)
|
||||
Divider(),
|
||||
|
||||
ListTile(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue