Commit 6fce1ed7 by tanghuan

bugfix

1 parent 79d054ab
......@@ -150,6 +150,7 @@ class AccountPage extends StatelessWidget {
}
final accountCubit = context.read<AccountCubit>();
final scaffoldMessenger = ScaffoldMessenger.of(context);
bool? confirm = await showDialog<bool>(
context: context,
builder: (BuildContext ctx) {
......@@ -175,7 +176,7 @@ class AccountPage extends StatelessWidget {
);
if (confirm == true) {
ScaffoldMessenger.of(context).showSnackBar(
scaffoldMessenger.showSnackBar(
SnackBar(
content: Text('已申请注销,等待流程处理'),
backgroundColor: Colors.green,
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!