Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
library-app-flutter
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ilham Maulana
library-app-flutter
Commits
5d7d06d8
Commit
5d7d06d8
authored
Jul 30, 2024
by
Ilham Maulana
💻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: back to profile page after update profile
parent
d314b982
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
profile_edit_form.dart
lib/src/widgets/forms/profile_edit_form.dart
+12
-8
No files found.
lib/src/widgets/forms/profile_edit_form.dart
View file @
5d7d06d8
...
@@ -99,13 +99,17 @@ class _ProfileEditForm extends State<ProfileEditForm> {
...
@@ -99,13 +99,17 @@ class _ProfileEditForm extends State<ProfileEditForm> {
child:
FilledButton
(
child:
FilledButton
(
onPressed:
()
{
onPressed:
()
{
if
(
_formKey
.
currentState
!.
validate
())
{}
if
(
_formKey
.
currentState
!.
validate
())
{}
authProvider
.
updateUserDetail
(
authProvider
.
updateUserDetail
(
authProvider
.
user
!.
id
,
authProvider
.
user
!.
id
,
usernameControler
.
text
,
usernameControler
.
text
,
emailControler
.
text
,
emailControler
.
text
,
firstNameControler
.
text
,
firstNameControler
.
text
,
lastNameControler
.
text
,
lastNameControler
.
text
,
authProvider
.
user
!.
isStaff
,
authProvider
.
user
!.
isStaff
,
)
.
then
(
(
res
)
=>
Navigator
.
pop
(
context
),
);
);
},
},
child:
const
Text
(
"Submit"
),
child:
const
Text
(
"Submit"
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment