mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 10:47:25 +01:00
Work screen: Use local database
This commit is contained in:
parent
ce7cb70c8d
commit
5300d674b5
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ class WorkScreen extends StatelessWidget {
|
||||||
),
|
),
|
||||||
body: PagedListView<RecordingInfo>(
|
body: PagedListView<RecordingInfo>(
|
||||||
fetch: (page, _) async {
|
fetch: (page, _) async {
|
||||||
return await backend.client.getRecordings(workInfo.work.id, page);
|
return await backend.db.getRecordings(workInfo.work.id, page);
|
||||||
},
|
},
|
||||||
builder: (context, recordingInfo) => ListTile(
|
builder: (context, recordingInfo) => ListTile(
|
||||||
title: PerformancesText(
|
title: PerformancesText(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue