From dcff0de2ed9f7b2f8b77dae533fd081f34645735 Mon Sep 17 00:00:00 2001 From: ARYA SINGH Date: Sat, 5 Oct 2024 12:17:41 +0530 Subject: [PATCH] bug-fixes --- .github/workflows/main.yml | 6 ++--- README.md | 8 +++--- .../presentation/pages/meditation_page.dart | 27 +++++++++++++------ pubspec.yaml | 2 +- 4 files changed, 27 insertions(+), 16 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f93d29c..bfec82d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -38,14 +38,14 @@ jobs: uses: ncipollo/release-action@v1 with: artifacts: "build/app/outputs/apk/release/*" - tag: v2.0.5 + tag: v2.0.5.1 token: ${{ secrets.TOKEN }} name: "stable-v2.0.5" body: | - ## What's New in v2.0.5 + ## What's New in v2.0.5.1 - **New Feature**: Fast Login with Oauth2 independent of Firebase. - - **Bug Fixes**: Resolved major bugs pertaining to memory leaks & getting ready for syncfusion. + - **Bug Fixes**: Resolved major bugs pertaining to login & signup leaks & getting ready for syncfusion. - **Performance Improvements**: Optimized the load response times. - **UI Enhancements**: Updated the home UI and added more animations. diff --git a/README.md b/README.md index 64e2721..9f2df73 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ ![Mindful-App](https://socialify.git.ci/ARYPROGRAMMER/Mindful-App/image?description=1&descriptionEditable=Mindful%20is%20a%20mental%20wellness%20app%20designed%20to%20support%20users%20in%20managing%20stress%20and%20anxiety&font=Source%20Code%20Pro&language=1&name=1&owner=1&pattern=Diagonal%20Stripes&stargazers=1&theme=Dark) [![Build Status](https://github.com/travisjeffery/timecop/workflows/CI/badge.svg)](https://github.com/ARYPROGRAMMER/Mindful-App/actions) -![version](https://img.shields.io/badge/version-2.0.5-blue) +![version](https://img.shields.io/badge/version-2.0.5.1-blue)

@@ -12,14 +12,14 @@ **APP STATUS** : ALL CORE FUNCTIONALITIES WORKING (Deployed NodeJs & Postgresql on Render) -## What's New in v2.0.5 (**Images in Readme.md Not Updated**) +## What's New in v2.0.5.1 (**Images in readme.md Not Updated**) - **New Feature**: Fast Login with Oauth2 independent of Firebase. - - **Bug Fixes**: Resolved major bugs pertaining to memory leaks & getting ready for syncfusion. + - **Bug Fixes**: Resolved major bugs pertaining to login & signup leaks & getting ready for syncfusion. - **Performance Improvements**: Optimized the load response times. - **UI Enhancements**: Updated the home UI and added more animations. - - **ADDED HIVE AND OAUTH2 WITH COMPLETE INTEGRITY added SIGNATURE SHA-1**. [DEMO LINK](https://vimeo.com/1013864504) + [Blog Post](https://dev.to/aryprogrammer/building-mindful-a-mental-wellness-app-with-nodejs-ai-and-clean-architecture-3n9d) # Mindful diff --git a/lib/features/meditation/presentation/pages/meditation_page.dart b/lib/features/meditation/presentation/pages/meditation_page.dart index 52760bc..777b5f9 100644 --- a/lib/features/meditation/presentation/pages/meditation_page.dart +++ b/lib/features/meditation/presentation/pages/meditation_page.dart @@ -34,7 +34,10 @@ class MeditationPage extends StatelessWidget { actions: [ CircleAvatar( backgroundImage: user1 != null - ? NetworkImage(user1.photoURL!) + ? user1.photoURL != null + ? NetworkImage(user1.photoURL!) + : const NetworkImage( + "https://pbs.twimg.com/media/F3tVQbJWUAEOXJB.jpg:large") : NetworkImage(user2!.photoUrl!), ), const SizedBox( @@ -55,13 +58,21 @@ class MeditationPage extends StatelessWidget { Container( width: MediaQuery.of(context).size.width / 1.7, child: user1 != null - ? Text( - "Welcome Back, ${user1.displayName}", - softWrap: true, - maxLines: 2, - overflow: TextOverflow.clip, - style: Theme.of(context).textTheme.titleLarge, - ) + ? user1.displayName != null + ? Text( + "Welcome Back, ${user1.displayName}", + softWrap: true, + maxLines: 2, + overflow: TextOverflow.clip, + style: Theme.of(context).textTheme.titleLarge, + ) + : Text( + "Welcome Back, User", + softWrap: true, + maxLines: 2, + overflow: TextOverflow.clip, + style: Theme.of(context).textTheme.titleLarge, + ) : Text( "Welcome Back, ${user2?.displayName}", softWrap: true, diff --git a/pubspec.yaml b/pubspec.yaml index bbb5ffe..9109607 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ 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: 2.0.5 +version: 2.0.5.1 environment: sdk: ^3.5.3