mirror of
https://github.com/johrpan/musicus_mobile.git
synced 2025-10-26 18:57:25 +01:00
Remove unnecessary tiles from home screen
The person and instruments selectors should only be acessed from the work editor.
This commit is contained in:
parent
40acc2b555
commit
0d29a5f15d
1 changed files with 0 additions and 20 deletions
|
|
@ -2,8 +2,6 @@ import 'package:flutter/material.dart';
|
||||||
|
|
||||||
import '../backend.dart';
|
import '../backend.dart';
|
||||||
import '../editors/work.dart';
|
import '../editors/work.dart';
|
||||||
import '../selectors/person.dart';
|
|
||||||
import '../selectors/instruments.dart';
|
|
||||||
|
|
||||||
class HomeScreen extends StatelessWidget {
|
class HomeScreen extends StatelessWidget {
|
||||||
@override
|
@override
|
||||||
|
|
@ -25,24 +23,6 @@ class HomeScreen extends StatelessWidget {
|
||||||
title: Text('Play/Pause'),
|
title: Text('Play/Pause'),
|
||||||
onTap: backend.playPause,
|
onTap: backend.playPause,
|
||||||
),
|
),
|
||||||
ListTile(
|
|
||||||
title: Text('Select person'),
|
|
||||||
onTap: () => Navigator.push(
|
|
||||||
context,
|
|
||||||
MaterialPageRoute(
|
|
||||||
builder: (context) => PersonsSelector(),
|
|
||||||
fullscreenDialog: true,
|
|
||||||
)),
|
|
||||||
),
|
|
||||||
ListTile(
|
|
||||||
title: Text('Select instrument'),
|
|
||||||
onTap: () => Navigator.push(
|
|
||||||
context,
|
|
||||||
MaterialPageRoute(
|
|
||||||
builder: (context) => InstrumentsSelector(),
|
|
||||||
fullscreenDialog: true,
|
|
||||||
)),
|
|
||||||
),
|
|
||||||
ListTile(
|
ListTile(
|
||||||
title: Text('Add work'),
|
title: Text('Add work'),
|
||||||
onTap: () => Navigator.push(
|
onTap: () => Navigator.push(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue