From b1e93046fda0f631161edaa6246d7c663242886f Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Sun, 8 Feb 2026 01:34:41 +0000 Subject: [PATCH] Fix: Add missing refreshFeed method to Application class to prevent TypeError The `feedCoordinator` logic assumes `this.refreshFeed` exists on the Application instance (because methods are bound via `bindCoordinator`). However, `Application` previously only implemented `refreshRecentFeed`, `refreshForYouFeed`, etc., but not the generic `refreshFeed`. This caused a `TypeError: this.refreshFeed is not a function` when `loadFeedVideos` (which calls `refreshFeed`) was invoked. This commit adds `async refreshFeed(...args)` to `Application` in `js/app.js`, delegating to `this._feed.refreshFeed(...args)`. Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- js/app.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/app.js b/js/app.js index 5e1e6368..679c01d2 100644 --- a/js/app.js +++ b/js/app.js @@ -3988,6 +3988,11 @@ class Application { return this._feed.refreshFeed("recent", ...args); } + async refreshFeed(...args) { + this._initCoordinators(); + return this._feed.refreshFeed(...args); + } + checkRelayHealthWarning(...args) { this._initCoordinators(); return this._feed.checkRelayHealthWarning(...args);