forked from yaso_meth/mih-project
change profile Update route to take in profile update argument object
This commit is contained in:
@@ -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,
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user