Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ethan
/
appframe
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 6fce1ed7
authored
2026-01-27 16:29:53 +0800
by
tanghuan
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bugfix
1 parent
79d054ab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
lib/ui/pages/setting/account_page.dart
lib/ui/pages/setting/account_page.dart
View file @
6fce1ed
...
@@ -150,6 +150,7 @@ class AccountPage extends StatelessWidget {
...
@@ -150,6 +150,7 @@ class AccountPage extends StatelessWidget {
}
}
final
accountCubit
=
context
.
read
<
AccountCubit
>();
final
accountCubit
=
context
.
read
<
AccountCubit
>();
final
scaffoldMessenger
=
ScaffoldMessenger
.
of
(
context
);
bool
?
confirm
=
await
showDialog
<
bool
>(
bool
?
confirm
=
await
showDialog
<
bool
>(
context:
context
,
context:
context
,
builder:
(
BuildContext
ctx
)
{
builder:
(
BuildContext
ctx
)
{
...
@@ -175,7 +176,7 @@ class AccountPage extends StatelessWidget {
...
@@ -175,7 +176,7 @@ class AccountPage extends StatelessWidget {
);
);
if
(
confirm
==
true
)
{
if
(
confirm
==
true
)
{
ScaffoldMessenger
.
of
(
context
)
.
showSnackBar
(
scaffoldMessenger
.
showSnackBar
(
SnackBar
(
SnackBar
(
content:
Text
(
'已申请注销,等待流程处理'
),
content:
Text
(
'已申请注销,等待流程处理'
),
backgroundColor:
Colors
.
green
,
backgroundColor:
Colors
.
green
,
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment