|
@@ -252,7 +252,7 @@ extension KMLeftSideViewController {
|
|
}
|
|
}
|
|
|
|
|
|
public func reloadSnapshotDataIfNeed() {
|
|
public func reloadSnapshotDataIfNeed() {
|
|
- if self.type.methodType != .Thumbnail {
|
|
|
|
|
|
+ if self.type.methodType != .snapshot {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
Task { @MainActor in
|
|
Task { @MainActor in
|
|
@@ -287,7 +287,7 @@ extension KMLeftSideViewController {
|
|
}
|
|
}
|
|
|
|
|
|
func updateSnapshotsIfNeed(for page: CPDFPage?) {
|
|
func updateSnapshotsIfNeed(for page: CPDFPage?) {
|
|
- if self.type.methodType != .Thumbnail {
|
|
|
|
|
|
+ if self.type.methodType != .snapshot {
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|