From 0039539548cc510953c67754ff95921c54cce3fb Mon Sep 17 00:00:00 2001 From: broodjeaap89 Date: Sun, 29 Aug 2021 21:08:37 +0200 Subject: [PATCH] removed notification test code --- lib/pages/PizzaEventsPage.dart | 7 ------- 1 file changed, 7 deletions(-) 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",