fix: correct mistyped kind
This commit is contained in:
@@ -82,7 +82,7 @@ export const ExtendedKind = {
|
||||
RELAY_REVIEW: 31987,
|
||||
GROUP_METADATA: 39000,
|
||||
ADDRESSABLE_NORMAL_VIDEO: 34235,
|
||||
ADDRESSABLE_SHORT_VIDEO: 24236
|
||||
ADDRESSABLE_SHORT_VIDEO: 34236
|
||||
}
|
||||
|
||||
export const SUPPORTED_KINDS = [
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user