mirror of
https://github.com/zulip/zulip.git
synced 2025-11-21 23:19:10 +00:00
user_setting: Update wording for "Mark messages as read on scroll" setting.
Previously, the user setting "Mark messages as read on scroll" sounded quite awkward and possibly confusing at times. We should update the text to something more clear and concise. This change will change "Mark messages as read on scroll" to "Automatically mark messages as read". The help center article is also fixed to name which setting is being adjusted.
This commit is contained in:
@@ -190,7 +190,7 @@ export class MessageList {
|
||||
properties of the message_list_data object.
|
||||
* The user recently marked messages in the view as unread, and
|
||||
we don't want to lose that state.
|
||||
* The user has "Mark messages as read on scroll" option
|
||||
* The user has "Automatically mark messages as read" option
|
||||
turned on in their user settings.
|
||||
*/
|
||||
const filter = this.data.filter;
|
||||
@@ -214,7 +214,7 @@ export class MessageList {
|
||||
/*
|
||||
Similar to can_mark_messages_read() above, this is a helper
|
||||
function to check if messages can be automatically read without
|
||||
the "Do not mark messages as read on scroll" setting.
|
||||
the "Automatically mark messages as read" setting.
|
||||
*/
|
||||
return this.data.can_mark_messages_read() && !this.reading_prevented;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user