优化bug
This commit is contained in:
@@ -92,12 +92,9 @@ class _MyEditPageState extends State<MyEditPage> {
|
||||
return Center(child: CircularProgressIndicator());
|
||||
}
|
||||
return PopScope(
|
||||
canPop: false,
|
||||
canPop: selectionState.userProfile.qStatus == 1,
|
||||
onPopInvokedWithResult: (didPop, __) async {
|
||||
if (didPop) return;
|
||||
if (selectionState.userProfile.qStatus == 1) {
|
||||
context.pop();
|
||||
}
|
||||
},
|
||||
child: Scaffold(
|
||||
body: AppBackend(
|
||||
|
||||
Reference in New Issue
Block a user