mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-08-03 18:23:18 +02:00
Fix hidden notes when hidden words if empty
This commit is contained in:
@@ -766,7 +766,7 @@ open class Note(
|
||||
}
|
||||
|
||||
if (thisEvent is BaseTextNoteEvent) {
|
||||
if (thisEvent.content.containsAny(accountChoices.hiddenWordsCase)) {
|
||||
if (accountChoices.hiddenWordsCase.isNotEmpty() && thisEvent.content.containsAny(accountChoices.hiddenWordsCase)) {
|
||||
return true
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user