mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-27 17:29:50 +08:00
DebugScreen: Allow levels dialog to be dismissed
This commit is contained in:
@ -204,9 +204,11 @@ class _DebugScreenState extends State<DebugScreen> {
|
||||
),
|
||||
);
|
||||
var l = await showDialog(context: context, builder: (context) => dialog);
|
||||
setState(() {
|
||||
filterLevel = l;
|
||||
});
|
||||
if (l != null) {
|
||||
setState(() {
|
||||
filterLevel = l;
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user