change profile Update route to take in profile update argument object

This commit is contained in:
2024-08-29 14:12:53 +02:00
parent 935a7836fe
commit ca4be29d0c

View File

@@ -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,
),
);
}