mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-27 03:07:26 +01:00
Add composers and work texts
These replace the work tile widget.
This commit is contained in:
parent
40db00d88d
commit
e834abe1e0
4 changed files with 68 additions and 87 deletions
|
|
@ -5,7 +5,6 @@ import '../database.dart';
|
|||
import '../editors/recording.dart';
|
||||
import '../widgets/texts.dart';
|
||||
import '../widgets/works_by_composer.dart';
|
||||
import '../widgets/work_tile.dart';
|
||||
|
||||
class PersonList extends StatelessWidget {
|
||||
final void Function(int personId) onSelect;
|
||||
|
|
@ -102,12 +101,13 @@ class RecordingList extends StatelessWidget {
|
|||
children: <Widget>[
|
||||
Material(
|
||||
elevation: 2.0,
|
||||
child: WorkTile(
|
||||
child: ListTile(
|
||||
leading: IconButton(
|
||||
icon: const Icon(Icons.arrow_back),
|
||||
onPressed: () => Navigator.pop(context),
|
||||
),
|
||||
workId: workId,
|
||||
title: WorkText(workId),
|
||||
subtitle: ComposersText(workId),
|
||||
),
|
||||
),
|
||||
Expanded(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue