Redirection
This commit is contained in:
parent
00441fe907
commit
aa284d9563
@ -325,7 +325,7 @@ class _TravelAgentListPlansState extends State<TravelAgentListPlans> {
|
|||||||
Row(
|
Row(
|
||||||
children: [
|
children: [
|
||||||
Text(
|
Text(
|
||||||
'My Trips',
|
'Trips',
|
||||||
style: GoogleFonts.poppins(
|
style: GoogleFonts.poppins(
|
||||||
fontSize: isDesktop ? 16 : 14,
|
fontSize: isDesktop ? 16 : 14,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
|
|||||||
@ -243,6 +243,7 @@ class TemplateState extends State<Template> {
|
|||||||
focusNode: _editorFocusNode,
|
focusNode: _editorFocusNode,
|
||||||
scrollController: _editorScrollController,
|
scrollController: _editorScrollController,
|
||||||
controller: _controller,
|
controller: _controller,
|
||||||
|
// readOnly: true,
|
||||||
config: QuillEditorConfig(
|
config: QuillEditorConfig(
|
||||||
requestKeyboardFocusOnCheckListChanged: false,
|
requestKeyboardFocusOnCheckListChanged: false,
|
||||||
// readOnlyMouseCursor: SystemMouseCursors.text,
|
// readOnlyMouseCursor: SystemMouseCursors.text,
|
||||||
|
|||||||
@ -46,7 +46,7 @@ class _MyAppState extends State<MyApp> {
|
|||||||
SemanticsBinding.instance.ensureSemantics(); // ✅ Safe here
|
SemanticsBinding.instance.ensureSemantics(); // ✅ Safe here
|
||||||
if (kIsWeb) {
|
if (kIsWeb) {
|
||||||
final uri = Uri.parse(html.window.location.href);
|
final uri = Uri.parse(html.window.location.href);
|
||||||
if (uri.path == '/authredirection' &&
|
if (uri.path == '/tstat/authredirection' &&
|
||||||
uri.queryParameters['code'] != null) {
|
uri.queryParameters['code'] != null) {
|
||||||
_authCode = uri.queryParameters['code'];
|
_authCode = uri.queryParameters['code'];
|
||||||
// _isAuthRedirect = true;
|
// _isAuthRedirect = true;
|
||||||
|
|||||||
@ -277,7 +277,7 @@ class _CustomAppBarState extends State<CustomAppBar> {
|
|||||||
|
|
||||||
if (userData?["role"] == "Travel Agent")
|
if (userData?["role"] == "Travel Agent")
|
||||||
buildNavItem(
|
buildNavItem(
|
||||||
"My Trips",
|
"Trips",
|
||||||
() => handleTabChange(
|
() => handleTabChange(
|
||||||
TabSelection.myTrips, '/listTravelAgentPlan'),
|
TabSelection.myTrips, '/listTravelAgentPlan'),
|
||||||
layoutColor!,
|
layoutColor!,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user