From 22b6b6750c9747eba5ddf53ea96f3c772299abda Mon Sep 17 00:00:00 2001 From: SurendarSuri30 Date: Sat, 6 Sep 2025 11:29:06 +0530 Subject: [PATCH] ticket releated changes done --- android/app/build.gradle | 4 +- lib/pages/postEnrollment/help.dart | 101 ++++++++---------- lib/pages/postEnrollment/profile.dart | 2 + lib/pages/postEnrollment/tickets.dart | 2 +- macos/Flutter/GeneratedPluginRegistrant.swift | 2 +- pubspec.yaml | 4 +- web/index.html | 4 +- 7 files changed, 57 insertions(+), 62 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index e98441f..c36ca7f 100755 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -19,12 +19,12 @@ if (project.hasProperty('google-services.json')) { def flutterVersionCode = localProperties.getProperty('flutter.versionCode') if (flutterVersionCode == null) { - flutterVersionCode = '23' + flutterVersionCode = '24' } def flutterVersionName = localProperties.getProperty('flutter.versionName') if (flutterVersionName == null) { - flutterVersionName = '1.0.23' + flutterVersionName = '1.0.24' } def keystoreProperties = new Properties() diff --git a/lib/pages/postEnrollment/help.dart b/lib/pages/postEnrollment/help.dart index 3053a26..094d11f 100755 --- a/lib/pages/postEnrollment/help.dart +++ b/lib/pages/postEnrollment/help.dart @@ -475,71 +475,64 @@ class _helpState extends State { ) ]), ), + Container( - width: double.infinity, + width: Responsive.isDesktop(context) ? 500 : double.infinity, height: 75, + // padding: Responsive.isDesktop(context) + // ? EdgeInsets.only(top: 20, bottom: 20, left: 30, right: 30) + // : EdgeInsets.only(top: 5, bottom: 5,left: 10,right: 10), padding: Responsive.isDesktop(context) ? EdgeInsets.only(top: 20, bottom: 20, left: 30, right: 30) - : EdgeInsets.only( - top: 5, - bottom: 5, - left: 10, - right: 10), // Add padding to the container + : EdgeInsets.symmetric(vertical: 5, horizontal: 10), child: Row( children: [ Expanded( - flex: 6, - child: Container( - width: 300, - height: 150, - alignment: Alignment.centerRight, - child: ElevatedButton( - onPressed: () { - var details = { - 'claimsDetails': '', - 'fromClaimPage': 1 - }; - Navigator.pushNamed(context, 'planclaimsform', - arguments: details); - }, - child: Text( - 'Raise a Claims', - style: GoogleFonts.poppins(color: Colors.white), - ), - style: ElevatedButton.styleFrom( - backgroundColor: Color(0xFFE26728), - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.circular(5), - ), - ), + flex: 6, + child: ElevatedButton( + onPressed: () { + var details = { + 'claimsDetails': '', + 'fromClaimPage': 1, + }; + Navigator.pushNamed(context, 'planclaimsform', + arguments: details); + }, + style: ElevatedButton.styleFrom( + backgroundColor: Color(0xFFE26728), + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(5), ), - )), + ), + child: Text( + 'Raise Claims', + style: GoogleFonts.poppins(color: Colors.white), + ), + ), + ), SizedBox(width: 10), Expanded( - flex: 6, - child: Container( - width: 300, - height: 150, - alignment: Alignment.centerLeft, - child: ElevatedButton( - onPressed: () { - Navigator.pushNamed(context, 'tickets'); - }, - child: Text( - 'Raise a Support', - style: GoogleFonts.poppins(color: Colors.white), - ), - style: ElevatedButton.styleFrom( - backgroundColor: Color(0xFFE26728), - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.circular(5), - ), - ), + flex: 6, + child: ElevatedButton( + onPressed: () { + Navigator.pushNamed(context, 'tickets'); + }, + style: ElevatedButton.styleFrom( + backgroundColor: Color(0xFFE26728), + shape: RoundedRectangleBorder( + borderRadius: BorderRadius.circular(5), ), - )), + ), + child: Text( + 'Raise a Query', + style: GoogleFonts.poppins(color: Colors.white), + ), + ), + ), ], ), ), + SizedBox(height: 20), // SizedBox(height: 15), Container( @@ -547,7 +540,7 @@ class _helpState extends State { color: Color(0xFFF6FAFF), borderRadius: BorderRadius.circular(5), ), - padding: EdgeInsets.symmetric(horizontal: 10, vertical: 10), + padding: EdgeInsets.symmetric(horizontal: 5, vertical: 5), child: Responsive.isDesktop(context) ? Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly, @@ -588,7 +581,7 @@ class _helpState extends State { Expanded( child: _buildTabButton( context: context, - title: "Supports", + title: "Queries", isActive: tickets == 0, onTap: () { setState(() { @@ -642,7 +635,7 @@ class _helpState extends State { SizedBox(width: 10), _buildTabButton( context: context, - title: "Supports", + title: "Queries", isActive: tickets == 0, onTap: () { setState(() { diff --git a/lib/pages/postEnrollment/profile.dart b/lib/pages/postEnrollment/profile.dart index 59ea65b..dfcd890 100755 --- a/lib/pages/postEnrollment/profile.dart +++ b/lib/pages/postEnrollment/profile.dart @@ -177,6 +177,8 @@ class _profileState extends State { // Clear all keys await prefs.clear(); + print('Local Storage Clear'); + // html.window.localStorage.clear(); // Re-set the mobile_number key if (isMobilePlatform()) { diff --git a/lib/pages/postEnrollment/tickets.dart b/lib/pages/postEnrollment/tickets.dart index 204ae87..c3e415c 100644 --- a/lib/pages/postEnrollment/tickets.dart +++ b/lib/pages/postEnrollment/tickets.dart @@ -361,7 +361,7 @@ class _ticketsState extends State { : MainAxisAlignment.start, children: [ Text( - 'Raise a Support', + 'Raise a Query', textAlign: TextAlign.start, style: GoogleFonts.poppins( fontSize: diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift index d4f08de..b723da8 100755 --- a/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/macos/Flutter/GeneratedPluginRegistrant.swift @@ -27,7 +27,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { FLTFirebaseMessagingPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseMessagingPlugin")) InAppWebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "InAppWebViewFlutterPlugin")) FLTGoogleSignInPlugin.register(with: registry.registrar(forPlugin: "FLTGoogleSignInPlugin")) - LocalAuthPlugin.register(with: registry.registrar(forPlugin: "LocalAuthPlugin")) + FLALocalAuthPlugin.register(with: registry.registrar(forPlugin: "FLALocalAuthPlugin")) FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin")) PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) diff --git a/pubspec.yaml b/pubspec.yaml index 41bf945..1d813c2 100755 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,8 +16,8 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -#version: 1.0.23+23 -version: 1.0.11+12 +#version: 1.0.24+24 +version: 1.0.12+13 environment: sdk: '>=3.3.3 <4.0.0' diff --git a/web/index.html b/web/index.html index 65e788b..5e315dc 100755 --- a/web/index.html +++ b/web/index.html @@ -165,8 +165,8 @@ body.show-botman #botmanWidgetRoot { console.log("Initializing Botman Chat"); window.botmanWidget = { - chatServer: 'https://venbait.in/nhance/chatbot/chat', - frameEndpoint: 'https://venbait.in/nhance/chatbot/widget', + chatServer: 'https://app.nhanceindia.in/zenith/chat', + frameEndpoint: 'https://app.nhanceindia.in/zenith/widget', title: "Ask ILA", introMessage: "", bubbleBackground: "#179a9f",