fix: correct mistyped kind
This commit is contained in:
parent
c845a4fc4f
commit
926c3f62a0
2 changed files with 6 additions and 2 deletions
|
|
@ -177,10 +177,14 @@ class LocalStorageService {
|
|||
showKindSet.add(ExtendedKind.ADDRESSABLE_NORMAL_VIDEO)
|
||||
showKindSet.add(ExtendedKind.ADDRESSABLE_SHORT_VIDEO)
|
||||
}
|
||||
if (showKindsVersion < 3 && showKindSet.has(24236)) {
|
||||
showKindSet.delete(24236) // remove typo kind
|
||||
showKindSet.add(ExtendedKind.ADDRESSABLE_SHORT_VIDEO)
|
||||
}
|
||||
this.showKinds = Array.from(showKindSet)
|
||||
}
|
||||
window.localStorage.setItem(StorageKey.SHOW_KINDS, JSON.stringify(this.showKinds))
|
||||
window.localStorage.setItem(StorageKey.SHOW_KINDS_VERSION, '2')
|
||||
window.localStorage.setItem(StorageKey.SHOW_KINDS_VERSION, '3')
|
||||
|
||||
this.hideContentMentioningMutedUsers =
|
||||
window.localStorage.getItem(StorageKey.HIDE_CONTENT_MENTIONING_MUTED_USERS) === 'true'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue