Skip to content

Fix: 'Hide text' setting with Invidious throwing in various places - #9806

Open
Shadorc wants to merge 1 commit into
FreeTubeApp:developmentfrom
Shadorc:fix/invidious-hide-text
Open

Shadorc wants to merge 1 commit into
FreeTubeApp:developmentfrom
Shadorc:fix/invidious-hide-text

Conversation

@Shadorc

@Shadorc Shadorc commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

closes #9804

Description

A few strings were nullable but used without null checks. It was working with Local API but throwing with Invidious.
I'm not sure what is the preferred code style for null check, I like being explicit so I went with != null

Testing

  1. Enable Invidious API
  2. Check that it does not throw any error in channel, search, subscription...

Additional context

I find this code a bit confusing as to what properties are nullable and what properties belong to Invidious and/or Local API

@github-actions github-actions Bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 14, 2026
@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) September 14, 2026 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: waiting for review For PRs that are complete, tested, and ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Using 'Hide Text' setting with Invidious throws

1 participant