Update page indicators
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user