Skip to content

Commit

Permalink
Refactor get_header_webview_html function in ReviewerSidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroven committed Jan 7, 2025
1 parent ba87f78 commit 167cdea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ankihub/gui/reviewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ def set_content_url(self, url: Optional[str]) -> None:

def update_chatbot_header_on_sidebar(self):
header_html = get_header_webview_html(
self.resources,
self.current_active_tab_url,
[],
None,
RESOURCE_TYPE_TO_DISPLAY_NAME[self.resource_type],
_ankihub_theme(),
)
Expand Down

0 comments on commit 167cdea

Please sign in to comment.