1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-28 06:48:38 +09:00

Fix unread indicator not updating for notifications (#11923)

Regression from #11898
This commit is contained in:
Eugen Rochko 2019-09-23 02:19:08 +02:00 committed by GitHub
parent 0d2b60ab8b
commit 50b9276330
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -201,10 +201,6 @@ export default class ScrollableList extends PureComponent {
this.detachIntersectionObserver(); this.detachIntersectionObserver();
detachFullscreenListener(this.onFullScreenChange); detachFullscreenListener(this.onFullScreenChange);
if (this.props.onScrollToTop) {
this.props.onScrollToTop();
}
} }
onFullScreenChange = () => { onFullScreenChange = () => {