Skip to content

Commit f753d03

Browse files
committed
bug-fixes-1-redis
1 parent de9b43b commit f753d03

File tree

4 files changed

+16
-11
lines changed

4 files changed

+16
-11
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ jobs:
6060
uses: ncipollo/release-action@v1
6161
with:
6262
artifacts: "build/app/outputs/apk/release/*"
63-
tag: v2.0.9.2
63+
tag: v2.0.9.3
6464
token: ${{ secrets.TOKEN }}
65-
name: "beta-v2.0.9.2"
65+
name: "beta-v2.0.9.3"
6666
body: |
67-
## What's New in v2.0.9.2
67+
## What's New in v2.0.9.3
6868
69-
- Improved Error Handlers.
69+
- Improved Error Handlers - Catching Redis Issues step-by-step.
7070
- **Redis Cloud Implementation and Fetching in Beta Phase**
7171
- **Structure of Redis added to Clean Architecture
7272
- **Added Redis-base to support syncfusion**

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<a href="https://github.com/ARYPROGRAMMER/Mindful-App/actions">
55
<img src="https://github.com/travisjeffery/timecop/workflows/CI/badge.svg" alt="Build Status"/>
66
</a>
7-
<img src="https://img.shields.io/badge/version-2.0.9.2-red" alt="Version"/>
7+
<img src="https://img.shields.io/badge/version-2.0.9.3-red" alt="Version"/>
88
</p>
99

1010
<p align="center">
@@ -17,9 +17,9 @@
1717

1818
**APP STATUS** : ALL CORE FUNCTIONALITIES WORKING (Deployed NodeJs & Postgresql on Render)
1919

20-
## What's New in v2.0.9.2 (Beta Trial Phase for Redis)
20+
## What's New in v2.0.9.3 (Beta Trial Phase for Redis) (Use Stable Version for Best Experience)
2121

22-
- Improved Error Handlers.
22+
- Improved Error Handlers - Catching Redis Issues step-by-step.
2323
- **Redis Cloud Implementation and Fetching in Beta Phase**
2424
- **Structure of Redis added to Clean Architecture
2525
- **Added Redis-base to support syncfusion**

lib/features/meditation/presentation/pages/meditation_page.dart

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -800,13 +800,18 @@ class _MeditationPageState extends State<MeditationPage> {
800800
text: '100%',
801801
pointColor: const Color.fromRGBO(235, 96, 143, 1.0))
802802
];
803-
return _buildColumnChart();
803+
try {
804+
return _buildColumnChart();
805+
}catch(error){
806+
return Text("ERROR LOADING");
807+
}
804808
}
805809
if (state is MoodDataLoading){
806810
return const Text("loading");
807811
}
808812

809813
if (state is MoodDataError){
814+
print(state.message);
810815
return const Text("No Data Found",textAlign:TextAlign.center,style: TextStyle(color: Colors.red,fontWeight: FontWeight.bold),);
811816
}
812817
return Container();

lib/main.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ class _MyAppState extends State<MyApp> {
5858
final mybox = Hive.box('lastlogin');
5959
final idval;
6060
bool google = mybox.get('google').toString() == 'true';
61-
if (google) {
62-
idval = "aryasingh8405Ggmail.com-google"; //temp
61+
if (google==true) {
62+
idval = "aryasingh8405@gmail.com-google"; //temp
6363
}else{
6464
idval = FirebaseAuth.instance.currentUser?.email.toString();
6565
}
@@ -69,7 +69,7 @@ class _MyAppState extends State<MyApp> {
6969
BlocProvider(create: (context) => di.sl<SongBloc>()..add(FetchSongs())),
7070
BlocProvider(create: (context) => di.sl<DailyQuoteBloc>()..add(FetchDailyQuote())),
7171
BlocProvider(create: (context) => di.sl<MoodMessageBloc>()),
72-
BlocProvider(create: (context) => di.sl<MoodDataBloc>()..add(FetchMoodData(idval))),
72+
BlocProvider(create: (context) => di.sl<MoodDataBloc>()..add(FetchMoodData(idval.toString()))),
7373
],
7474
child: MaterialApp(
7575
debugShowCheckedModeBanner: false,

0 commit comments

Comments
 (0)