Redirection

This commit is contained in:
venbaittech 2025-05-22 17:20:10 +05:30
parent 00441fe907
commit aa284d9563
4 changed files with 4 additions and 3 deletions

View File

@ -325,7 +325,7 @@ class _TravelAgentListPlansState extends State<TravelAgentListPlans> {
Row(
children: [
Text(
'My Trips',
'Trips',
style: GoogleFonts.poppins(
fontSize: isDesktop ? 16 : 14,
fontWeight: FontWeight.w600,

View File

@ -243,6 +243,7 @@ class TemplateState extends State<Template> {
focusNode: _editorFocusNode,
scrollController: _editorScrollController,
controller: _controller,
// readOnly: true,
config: QuillEditorConfig(
requestKeyboardFocusOnCheckListChanged: false,
// readOnlyMouseCursor: SystemMouseCursors.text,

View File

@ -46,7 +46,7 @@ class _MyAppState extends State<MyApp> {
SemanticsBinding.instance.ensureSemantics(); // Safe here
if (kIsWeb) {
final uri = Uri.parse(html.window.location.href);
if (uri.path == '/authredirection' &&
if (uri.path == '/tstat/authredirection' &&
uri.queryParameters['code'] != null) {
_authCode = uri.queryParameters['code'];
// _isAuthRedirect = true;

View File

@ -277,7 +277,7 @@ class _CustomAppBarState extends State<CustomAppBar> {
if (userData?["role"] == "Travel Agent")
buildNavItem(
"My Trips",
"Trips",
() => handleTabChange(
TabSelection.myTrips, '/listTravelAgentPlan'),
layoutColor!,