diff --git a/lib/pages/PizzaEventsPage.dart b/lib/pages/PizzaEventsPage.dart index 2eee7c5..9437f67 100644 --- a/lib/pages/PizzaEventsPage.dart +++ b/lib/pages/PizzaEventsPage.dart @@ -40,13 +40,6 @@ class PizzaEventsState extends State { ), floatingActionButton: FloatingActionButton( onPressed: () async { - var pizzaEventBox = Hive.box("PizzaEvents"); - if (pizzaEventBox.isNotEmpty){ - var firstKey = pizzaEventBox.keys.first; - Navigator.pushNamed(context, "/event/notification", arguments: "${firstKey}__0"); - return; - } - final dynamic newPizzaEvent = await Navigator.pushNamed( context, "/event/pick_recipe",