Skip to content

Commit

Permalink
bug-fixes-1-redis
Browse files Browse the repository at this point in the history
  • Loading branch information
ARYPROGRAMMER committed Oct 8, 2024
1 parent de9b43b commit f753d03
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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**
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<a href="https://github.com/ARYPROGRAMMER/Mindful-App/actions">
<img src="https://github.com/travisjeffery/timecop/workflows/CI/badge.svg" alt="Build Status"/>
</a>
<img src="https://img.shields.io/badge/version-2.0.9.2-red" alt="Version"/>
<img src="https://img.shields.io/badge/version-2.0.9.3-red" alt="Version"/>
</p>

<p align="center">
Expand All @@ -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**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -800,13 +800,18 @@ class _MeditationPageState extends State<MeditationPage> {
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();
Expand Down
6 changes: 3 additions & 3 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ class _MyAppState extends State<MyApp> {
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();
}
Expand All @@ -69,7 +69,7 @@ class _MyAppState extends State<MyApp> {
BlocProvider(create: (context) => di.sl<SongBloc>()..add(FetchSongs())),
BlocProvider(create: (context) => di.sl<DailyQuoteBloc>()..add(FetchDailyQuote())),
BlocProvider(create: (context) => di.sl<MoodMessageBloc>()),
BlocProvider(create: (context) => di.sl<MoodDataBloc>()..add(FetchMoodData(idval))),
BlocProvider(create: (context) => di.sl<MoodDataBloc>()..add(FetchMoodData(idval.toString()))),
],
child: MaterialApp(
debugShowCheckedModeBanner: false,
Expand Down

0 comments on commit f753d03

Please sign in to comment.