DebugScreen: Allow levels dialog to be dismissed

This commit is contained in:
Vishesh Handa
2020-05-20 00:51:57 +02:00
parent c935feaee0
commit 7611794fd3

View File

@ -204,10 +204,12 @@ class _DebugScreenState extends State<DebugScreen> {
), ),
); );
var l = await showDialog(context: context, builder: (context) => dialog); var l = await showDialog(context: context, builder: (context) => dialog);
if (l != null) {
setState(() { setState(() {
filterLevel = l; filterLevel = l;
}); });
} }
}
} }
class FilterListTile extends StatelessWidget { class FilterListTile extends StatelessWidget {