Update page indicators

This commit is contained in:
Christoph Hagen
2025-05-02 23:14:47 +02:00
parent 1f4f32c9af
commit d0685c163c
2 changed files with 22 additions and 3 deletions

View File

@@ -61,6 +61,14 @@ final class LocalizedPage: ChangeObservingItem {
content.isValidIdForTagOrPageOrPost(urlComponent) &&
!content.containsPage(withUrlComponent: urlComponent)
}
func update(hasContent: Bool) -> Bool {
if self.hasContent != hasContent {
self.hasContent = hasContent
return true
}
return false
}
}