mirror of
https://github.com/wanghongenpin/proxypin.git
synced 2026-06-03 17:25:48 +08:00
Exception handling for loading app config
This commit is contained in:
@@ -412,17 +412,18 @@ class _DomainRequestsState extends State<DomainRequests> {
|
||||
if (!changing) {
|
||||
changing = true;
|
||||
Future.delayed(const Duration(milliseconds: 500), () {
|
||||
setState(() {
|
||||
changing = false;
|
||||
});
|
||||
transitionState.currentState?.show();
|
||||
if (mounted) {
|
||||
setState(() {
|
||||
changing = false;
|
||||
});
|
||||
transitionState.currentState?.show();
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
|
||||
return Column(children: [
|
||||
_hostWidget(widget.domain),
|
||||
Offstage(offstage: !selected, child: Column(children: widget.body.toList()))
|
||||
|
||||
Reference in New Issue
Block a user