Dev-roll / thundercard

SNS inspired by business cards. Exchange your profile with lightning speed.⚡️
https://thundercard.gajeroll.com
12 stars 4 forks source link

refactor(lib): dart fix --apply #707

Closed keigomichi closed 1 year ago

keigomichi commented 1 year ago

Issue 番号

変更内容

この PR はマージ可能な状態ですか

[x] Yes
[ ] No

確認事項

その他

-

Summary by CodeRabbit

github-actions[bot] commented 1 year ago

Image description CodeRabbit

Walkthrough

The changes primarily focus on enhancing code readability and maintainability through improved formatting and structure. Additionally, there are modifications in the providers' values and minor adjustments in the test expectations. The logic and functionality of the code remain largely unaffected.

Changes

Files Summary
lib/main.dart, lib/ui/screen/home_page.dart Providers (sharedPreferencesProvider, notificationsCountProvider) are overridden with new values.
lib/utils/constants.dart, test/data/service/shared_preferences_service_test.dart Minor changes in the themeList list and an addition of a new expected user data value when shouldHideOnBoarding is true.
Various UI component and screen files Code formatting and structure improvements across multiple classes and screens. Added checks for whether the widget is still mounted before executing certain actions.

🐰 "In the land of code, where logic intertwines,

Changes come forth, like sun that shines.

Formatting tweaked, providers renewed,

Tests adjusted, for scenarios construed.

Though changes seem small, they matter indeed,

For in each tiny shift, better code is freed!" 🎉


Uplevel your code reviews with CodeRabbit Pro ### CodeRabbit Pro If you like this project, please support us by purchasing the [Pro version](https://coderabbit.ai). The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version. Moreover, CodeRabbit Pro is free for open source projects.
github-actions[bot] commented 1 year ago

Visit the preview URL for this PR (updated for commit 6791589):

https://thundercard-test--pr707-keigomichi-dart-fix-h8a5lmeg.web.app

(expires Fri, 06 Oct 2023 11:30:02 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 91a64f297bd76062cbdd71a4d05a773a6166c553