diff --git a/lib/pages/practice/PracticeSetupPage.dart b/lib/pages/practice/PracticeSetupPage.dart index 362d3fc..05e8af6 100644 --- a/lib/pages/practice/PracticeSetupPage.dart +++ b/lib/pages/practice/PracticeSetupPage.dart @@ -25,29 +25,6 @@ class _PracticeSetupState extends State { super.initState(); } - SimpleDialog getInstructionDialog(PracticeType practiceType){ - switch(practiceType){ - case PracticeType.month: { - return getMonthInstructionDialog(); - } - case PracticeType.year: { - return SimpleDialog(); - } - case PracticeType.century: { - return SimpleDialog(); - } - case PracticeType.leap: { - return SimpleDialog(); - } - case PracticeType.mod: { - return SimpleDialog(); - } - default: { - return SimpleDialog(); - } - } - } - TableRow getStatTableRow(AsyncSnapshot> snapshot, PracticeType practiceType){ final typeString = practiceType.toString().split(".").last; return TableRow( @@ -66,7 +43,7 @@ class _PracticeSetupState extends State { onLongPress: () { Navigator.pushNamed( context, - '/instructions/year' + '/instructions/' + practiceType.toString().split(".").last ); }, ),