Terms&Conditions
This commit is contained in:
parent
24179488a3
commit
162a1e5fa8
@ -504,14 +504,12 @@ final GoRouter router = GoRouter(
|
||||
),
|
||||
),
|
||||
GoRoute(
|
||||
path: '/terms&conditions',
|
||||
path: '/termsandconditions',
|
||||
builder: (context, state) => TermsOfUse(),
|
||||
//builder: (context, state) => LoginRoute(),
|
||||
),
|
||||
GoRoute(
|
||||
path: '/privacy_policy',
|
||||
builder: (context, state) => PrivacyPolicy(),
|
||||
//builder: (context, state) => LoginRoute(),
|
||||
),
|
||||
|
||||
// Drawer Routers
|
||||
@ -668,7 +666,10 @@ final GoRouter router = GoRouter(
|
||||
if (state.uri.path == '/SessionCheckScreen' ||
|
||||
state.uri.path == '/login' ||
|
||||
state.uri.path == '/register' ||
|
||||
state.uri.path == '/forgot-password/:email') {
|
||||
state.uri.path == '/forgot-password/:email'||
|
||||
state.uri.path == '/termsandconditions'||
|
||||
state.uri.path == '/privacy_policy'
|
||||
) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@ -1087,7 +1087,7 @@ class _RegisterScreenState extends ConsumerState<RegisterScreen> {
|
||||
TapGestureRecognizer()
|
||||
..onTap = () =>
|
||||
context.push(
|
||||
'/terms&conditions'),
|
||||
'/termsandconditions'),
|
||||
text: AppLocalizations
|
||||
.of(context)!
|
||||
.terms_conditions,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user