Tweetian icon indicating copy to clipboard operation
Tweetian copied to clipboard

When remember position in timeline is on unread count is broken

Open veskuh opened this issue 11 years ago • 4 comments

When remember position option in timeline is on then unread count is broken, always no unread new tweets.

veskuh avatar Jan 18 '14 08:01 veskuh

I also saw this issue initially when I turned keep position on, but it automatically disappeared after some time. Afterwards when I test on emulator with keep position on, unread count is always set.

On second thought, I think this issue is unrelated to keeping position in timeline. Is the unread count set when you turn keep position off on your device ?

siteshwar avatar Jan 18 '14 09:01 siteshwar

So it looks like the unread count won't be set for the tweet which is visible on the screen after refreshing.

siteshwar avatar Jan 18 '14 09:01 siteshwar

A quick test shows that the unread count does show when keep position is off, but it disappears as soon as you scroll.

tanghus avatar Jan 18 '14 17:01 tanghus

@tanghus My pull request #49 fixes it.

EDIT: Actually the way method for counting unread tweets works, unread count will be always set to 0 as soon as you start scrolling from top to bottom after refreshing tweets.

siteshwar avatar Jan 18 '14 17:01 siteshwar