Update mutewords and hiddenposts to use the new sdk

This commit is contained in:
Paul Frazee
2024-03-09 12:45:26 -08:00
parent 2f8573b339
commit 68d4d4142c
11 changed files with 60 additions and 1104 deletions
+2 -2
View File
@@ -233,8 +233,8 @@ function MutedWordsInner({}: {control: Dialog.DialogOuterProps['control']}) {
</Trans>
</Text>
</View>
) : preferences.mutedWords.length ? (
[...preferences.mutedWords]
) : preferences.moderationPrefs.mutedWords.length ? (
[...preferences.moderationPrefs.mutedWords]
.reverse()
.map((word, i) => (
<MutedWordRow