diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index bb822e8..af05843 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -60,13 +60,13 @@ jobs: uses: ncipollo/release-action@v1 with: artifacts: "build/app/outputs/apk/release/*" - tag: v2.0.9.2 + tag: v2.0.9.3 token: ${{ secrets.TOKEN }} - name: "beta-v2.0.9.2" + name: "beta-v2.0.9.3" body: | - ## What's New in v2.0.9.2 + ## What's New in v2.0.9.3 - - Improved Error Handlers. + - Improved Error Handlers - Catching Redis Issues step-by-step. - **Redis Cloud Implementation and Fetching in Beta Phase** - **Structure of Redis added to Clean Architecture - **Added Redis-base to support syncfusion** diff --git a/README.md b/README.md index 26565f0..9605d14 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Build Status - Version + Version

@@ -17,9 +17,9 @@ **APP STATUS** : ALL CORE FUNCTIONALITIES WORKING (Deployed NodeJs & Postgresql on Render) -## What's New in v2.0.9.2 (Beta Trial Phase for Redis) +## What's New in v2.0.9.3 (Beta Trial Phase for Redis) (Use Stable Version for Best Experience) - - Improved Error Handlers. + - Improved Error Handlers - Catching Redis Issues step-by-step. - **Redis Cloud Implementation and Fetching in Beta Phase** - **Structure of Redis added to Clean Architecture - **Added Redis-base to support syncfusion** diff --git a/lib/features/meditation/presentation/pages/meditation_page.dart b/lib/features/meditation/presentation/pages/meditation_page.dart index 4e76cdd..e14e302 100644 --- a/lib/features/meditation/presentation/pages/meditation_page.dart +++ b/lib/features/meditation/presentation/pages/meditation_page.dart @@ -800,13 +800,18 @@ class _MeditationPageState extends State { text: '100%', pointColor: const Color.fromRGBO(235, 96, 143, 1.0)) ]; - return _buildColumnChart(); + try { + return _buildColumnChart(); + }catch(error){ + return Text("ERROR LOADING"); + } } if (state is MoodDataLoading){ return const Text("loading"); } if (state is MoodDataError){ + print(state.message); return const Text("No Data Found",textAlign:TextAlign.center,style: TextStyle(color: Colors.red,fontWeight: FontWeight.bold),); } return Container(); diff --git a/lib/main.dart b/lib/main.dart index c6fe077..89ca5f6 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -58,8 +58,8 @@ class _MyAppState extends State { final mybox = Hive.box('lastlogin'); final idval; bool google = mybox.get('google').toString() == 'true'; - if (google) { - idval = "aryasingh8405Ggmail.com-google"; //temp + if (google==true) { + idval = "aryasingh8405@gmail.com-google"; //temp }else{ idval = FirebaseAuth.instance.currentUser?.email.toString(); } @@ -69,7 +69,7 @@ class _MyAppState extends State { BlocProvider(create: (context) => di.sl()..add(FetchSongs())), BlocProvider(create: (context) => di.sl()..add(FetchDailyQuote())), BlocProvider(create: (context) => di.sl()), - BlocProvider(create: (context) => di.sl()..add(FetchMoodData(idval))), + BlocProvider(create: (context) => di.sl()..add(FetchMoodData(idval.toString()))), ], child: MaterialApp( debugShowCheckedModeBanner: false,