|
@@ -306,6 +306,15 @@ class KMLeftSideViewController: KMSideViewController {
|
|
|
}
|
|
|
self.leftView.helpButton.coverAction = { [weak self] button, action in
|
|
|
if action == .enter {
|
|
|
+ let hasEnterPageEdit = self?.mainViewController?.hasEnterPageEdit() ?? false
|
|
|
+ if hasEnterPageEdit {
|
|
|
+ return
|
|
|
+ }
|
|
|
+ let hasEnterRedact = self?.mainViewController?.hasEnterRedact() ?? false
|
|
|
+ if hasEnterRedact {
|
|
|
+ return
|
|
|
+ }
|
|
|
+
|
|
|
self?.userFbHanddler.showUserFbPopView(sender: button)
|
|
|
}
|
|
|
}
|