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