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