mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 03:53:50 +00:00 
			
		
		
		
	message view: Refactor top loading indicators.
This commit makes the `loading_older_messages_indicator` similar to the `loading_newer_messages_indicator`. Now all the decisions about whether to show a loading indicator will be made from the `fetch_status` API. We still hide the indicators everytime the view is changed, as explained in the previous commit.
This commit is contained in:
		| @@ -63,8 +63,6 @@ exports.scroll_finished = function () { | ||||
|     if (message_viewport.at_top()) { | ||||
|         message_fetch.maybe_load_older_messages({ | ||||
|             msg_list: current_msg_list, | ||||
|             show_loading: exports.show_loading_older, | ||||
|             hide_loading: exports.hide_loading_older, | ||||
|         }); | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user