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

Add Unread Divider #60

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

thgoebel
Copy link

This PR adds a divider after the unread messages. Just like in messaging apps.

The exact string ("You are all caught up!") is open for discussion. Maybe something more translation-friendly. E.g. Slack on iOS has "You're up-to-date 🎉" when you scroll up. Signal has "1 Unread Message".

Also, the string is hardcoded in XML right now because I don't know how your string/translation workflow works. I'll leave it to you to properly integrate it into the string setup.

thgoebel added 3 commits June 16, 2023 15:57
The only real content changes are:

1. The companion object
2. Formatting the two constructors to be multiline instead of one looong line

Otherwise it's copy and paste of the DetailViewHolder and the imports that it needs.
@binwiederhier
Copy link
Owner

Wow. This is from June and I haven't commented or merged. My apologies. I haven't worked on the Android app in a while. When I do, I'll certainly look at this and/or merge it. Looks very neat. Thank you for your contribution!!

@thgoebel
Copy link
Author

thgoebel commented Sep 1, 2023

No problem! I’m running my fork, so I already have the unread divider and am happy :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants