From 4cfa4c2ad01f5878db6e167e945ab945a32e999a Mon Sep 17 00:00:00 2001 From: Jakob Meier Date: Sat, 1 Apr 2023 20:15:17 +0200 Subject: [PATCH] Fixed bug where closing the icon selector would close the screen --- lib/screens/room/new.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/screens/room/new.dart b/lib/screens/room/new.dart index e4118a5..a5ec3d3 100644 --- a/lib/screens/room/new.dart +++ b/lib/screens/room/new.dart @@ -106,8 +106,7 @@ class _NewRoomPageState extends State { _ctrIcon = icon; }); - Navigator.of( - context) + Navigator.of(ctx) .pop(); })); }).toList())),