Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snack Bar implemented throughout the app #97

Merged
merged 7 commits into from
Nov 8, 2023

Conversation

Ammar-Ishfaq
Copy link
Contributor

@Ammar-Ishfaq Ammar-Ishfaq commented Nov 6, 2023

Resolves #71

Copy link
Owner

@waseefakhtar waseefakhtar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good and works well! I just had some suggestions regarding naming conventions.

app/src/main/java/com/waseefakhtar/doseapp/DoseApp.kt Outdated Show resolved Hide resolved
app/src/main/java/com/waseefakhtar/doseapp/DoseApp.kt Outdated Show resolved Hide resolved
Ammar-Ishfaq and others added 3 commits November 7, 2023 10:27
Co-authored-by: Waseef Akhtar <waseefakhtar@gmail.com>
Co-authored-by: Waseef Akhtar <waseefakhtar@gmail.com>
Co-authored-by: Waseef Akhtar <waseefakhtar@gmail.com>
@Ammar-Ishfaq
Copy link
Contributor Author

Ammar-Ishfaq commented Nov 7, 2023

Let me change them overall the app as I've seen there are others as well need to update

@Ammar-Ishfaq
Copy link
Contributor Author

Hello @waseefakhtar, I've improved the implementation of the Snackbar feature. Now, you can simply call the function (showSnackbar()) without the need to create parameters within it. This eliminates any unnecessary boilerplate code, making it a more efficient and user-friendly experience for future developers. I'm eager to hear your thoughts and hope we can proceed with merging this improvement. 😊

@waseefakhtar waseefakhtar added the ui label Nov 7, 2023
@waseefakhtar waseefakhtar added this to In progress 🚧 in Dose App via automation Nov 7, 2023
@waseefakhtar waseefakhtar added this to the 1.1 milestone Nov 7, 2023
Copy link
Owner

@waseefakhtar waseefakhtar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good and nice improvement with eliminating unnecessary boilerplate code! I just made some minor changes renaming variables and functions and fixing ktlint. Thank you for your contribution, @Ammar-Ishfaq! :)

@waseefakhtar waseefakhtar merged commit 356f2f2 into waseefakhtar:main Nov 8, 2023
1 check passed
Dose App automation moved this from In progress 🚧 to Ready 🚀 Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Dose App
Ready 🚀
Development

Successfully merging this pull request may close these issues.

Replace Toasts with bottom sheet that appears for 3 secs
2 participants