Skip to content

Conversation

tymmesyde
Copy link
Member

No description provided.

pub auth: Option<Auth>,
#[serde_as(deserialize_as = "UniqueVec<Vec<_>, DescriptorUniqueVecAdapter>")]
pub addons: Vec<Descriptor>,
#[serde(skip)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why serde(skip)? Addons will be automatically unlocked on the next page refresh.

}))
.unchanged(),
Err(error) => {
profile.addons_locked = true;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that will cause addons locking on any failed request for pulling addons.
we do pull addons in stremio-web on window focus.
Is that expected behavior?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants