mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 18:57:25 +01:00
Add basic work editor
This also adds a tile to the temporary home screen for debugging purposes.
This commit is contained in:
parent
be7699f322
commit
45c430e7f6
2 changed files with 111 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import 'package:flutter/material.dart';
|
||||
|
||||
import '../backend.dart';
|
||||
import '../editors/work.dart';
|
||||
import '../selectors/person.dart';
|
||||
import '../selectors/instruments.dart';
|
||||
|
||||
|
|
@ -42,6 +43,15 @@ class HomeScreen extends StatelessWidget {
|
|||
fullscreenDialog: true,
|
||||
)),
|
||||
),
|
||||
ListTile(
|
||||
title: Text('Add work'),
|
||||
onTap: () => Navigator.push(
|
||||
context,
|
||||
MaterialPageRoute(
|
||||
builder: (context) => WorkEditor(),
|
||||
fullscreenDialog: true,
|
||||
)),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue