hub & manager issues
This commit is contained in:
@@ -135,6 +135,11 @@ extension ClientNavigator on IModularNavigator {
|
||||
pushNamed(ClientPaths.settings);
|
||||
}
|
||||
|
||||
/// Pushes the edit profile page.
|
||||
void toClientEditProfile() {
|
||||
pushNamed('${ClientPaths.settings}/edit-profile');
|
||||
}
|
||||
|
||||
// ==========================================================================
|
||||
// HUBS MANAGEMENT
|
||||
// ==========================================================================
|
||||
@@ -159,6 +164,9 @@ extension ClientNavigator on IModularNavigator {
|
||||
return pushNamed<bool?>(
|
||||
ClientPaths.editHub,
|
||||
arguments: <String, dynamic>{'hub': hub},
|
||||
// Some versions of Modular allow passing opaque here, but if not
|
||||
// we'll handle transparency in the page itself which we already do.
|
||||
// To ensure it's not opaque, we'll use push with a PageRouteBuilder if needed.
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user