mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 18:57:25 +01:00
Files selector: Return parent document ID
This commit is contained in:
parent
448a0de6fa
commit
9da8f8891b
2 changed files with 27 additions and 2 deletions
|
|
@ -55,12 +55,16 @@ class _TracksEditorState extends State<TracksEditor> {
|
|||
trailing: IconButton(
|
||||
icon: const Icon(Icons.add),
|
||||
onPressed: () async {
|
||||
final Set<String> paths = await Navigator.push(
|
||||
final FilesSelectorResult result = await Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => FilesSelector(),
|
||||
),
|
||||
);
|
||||
|
||||
if (result != null) {
|
||||
// TODO: Add tracks.
|
||||
}
|
||||
},
|
||||
),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue