@@ -19,7 +19,7 @@
<key>CFBundleShortVersionString</key>
<string>2.23.8</string>
<key>CFBundleVersion</key>
- <string>6</string>
+ <string>7</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
@@ -63,7 +63,7 @@
</dict>
</array>
<key>FIREBASE_ANALYTICS_COLLECTION_DEACTIVATED</key>
<true/>
<key>Fabric</key>
@@ -228,6 +228,13 @@
// RichDocument
if ([[NCUtility sharedInstance] isRichDocument:self.metadataDetail] && appDelegate.reachability.isReachable) {
+ // if is open do not reload
+ if (self.richDocument.metadata.fileID == self.metadataDetail.fileID) {
+ if ([UIDevice currentDevice].userInterfaceIdiom == UIUserInterfaceIdiomPhone)
+ [self.navigationController setNavigationBarHidden:true];
+ return;
+ }
+
[[NCUtility sharedInstance] startActivityIndicatorWithView:self.view bottom:0];
if ([self.metadataDetail.url isEqualToString:@""]) {
@@ -27,7 +27,7 @@ class NCViewerRichdocument: WKWebView, WKNavigationDelegate, WKScriptMessageHand
let appDelegate = UIApplication.shared.delegate as! AppDelegate
var detail: CCDetail!
- var metadata: tableMetadata!
+ @objc var metadata: tableMetadata!
var documentInteractionController: UIDocumentInteractionController!
override init(frame: CGRect, configuration: WKWebViewConfiguration) {