change profile Update route to take in profile update argument object
This commit is contained in:
parent
935a7836fe
commit
ca4be29d0c
1 changed files with 2 additions and 2 deletions
|
|
@ -26,11 +26,11 @@ class RouteGenerator {
|
|||
|
||||
//User Profile
|
||||
case '/user-profile':
|
||||
if (args is AppUser) {
|
||||
if (args is AppProfileUpdateArguments) {
|
||||
return MaterialPageRoute(
|
||||
settings: settings,
|
||||
builder: (_) => ProfileUserUpdate(
|
||||
signedInUser: args,
|
||||
arguments: args,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue