change profile Update route to take in profile update argument object
This commit is contained in:
@@ -26,11 +26,11 @@ class RouteGenerator {
|
|||||||
|
|
||||||
//User Profile
|
//User Profile
|
||||||
case '/user-profile':
|
case '/user-profile':
|
||||||
if (args is AppUser) {
|
if (args is AppProfileUpdateArguments) {
|
||||||
return MaterialPageRoute(
|
return MaterialPageRoute(
|
||||||
settings: settings,
|
settings: settings,
|
||||||
builder: (_) => ProfileUserUpdate(
|
builder: (_) => ProfileUserUpdate(
|
||||||
signedInUser: args,
|
arguments: args,
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user