mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 05:25:40 +09:00
refactor(app): drop the unread jump anchor now the scroller finds it (#1858)
This commit is contained in:
1 parent
af7469fa1f
commit
52781cfa2d
17 files changed
+148
-152
No files matched your search
@@ -3,7 +3,6 @@
|
||||
import Messages from '@app/features/messaging/state/MessagingMessages';
|
||||
import Navigation from '@app/features/navigation/state/Navigation';
|
||||
import {Logger} from '@app/features/platform/utils/AppLogger';
|
||||
import ReadStates from '@app/features/read_state/state/ReadStates';
|
||||
import Notification from '@app/features/ui/state/Notification';
|
||||
import {reaction} from 'mobx';
|
||||
|
||||
@@ -41,7 +40,6 @@ class NavigationSideEffects {
|
||||
guildId: guildId ?? undefined,
|
||||
channelId,
|
||||
messageId: messageId ?? undefined,
|
||||
unreadAnchor: ReadStates.getUnreadJumpAnchor(channelId),
|
||||
});
|
||||
Notification.handleChannelSelect({channelId});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user