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( 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,

View File

@ -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,

View File

@ -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;

View File

@ -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!,