removed notification test code
This commit is contained in:
parent
81b1bf6a82
commit
0039539548
1 changed files with 0 additions and 7 deletions
|
@ -40,13 +40,6 @@ class PizzaEventsState extends State<PizzaEventsPage> {
|
||||||
),
|
),
|
||||||
floatingActionButton: FloatingActionButton(
|
floatingActionButton: FloatingActionButton(
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
var pizzaEventBox = Hive.box<PizzaEvent>("PizzaEvents");
|
|
||||||
if (pizzaEventBox.isNotEmpty){
|
|
||||||
var firstKey = pizzaEventBox.keys.first;
|
|
||||||
Navigator.pushNamed(context, "/event/notification", arguments: "${firstKey}__0");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
final dynamic newPizzaEvent = await Navigator.pushNamed(
|
final dynamic newPizzaEvent = await Navigator.pushNamed(
|
||||||
context,
|
context,
|
||||||
"/event/pick_recipe",
|
"/event/pick_recipe",
|
||||||
|
|
Loading…
Add table
Reference in a new issue