Browse Source

clear code

Marino Faggiana 6 years ago
parent
commit
78be0e3932
2 changed files with 3 additions and 2 deletions
  1. 3 0
      iOSClient/CCGlobal.h
  2. 0 2
      iOSClient/Main/CCMore.swift

+ 3 - 0
iOSClient/CCGlobal.h

@@ -35,6 +35,9 @@
 //DispatchQueue.main.asyncAfter(deadline: .now() + 0.1)
 //DispatchQueue.global().async
 
+//#if targetEnvironment(simulator)
+//#endif
+
 #define CALL_ORIGIN NSLog(@"Origin: [%@]", [[[[NSThread callStackSymbols] objectAtIndex:1] componentsSeparatedByCharactersInSet:[NSCharacterSet characterSetWithCharactersInString:@"[]"]] objectAtIndex:1])
 
 #endif

+ 0 - 2
iOSClient/Main/CCMore.swift

@@ -123,7 +123,6 @@ class CCMore: UIViewController, UITableViewDelegate, UITableViewDataSource, CCLo
             functionMenu.append(item)
         }
         
-//#if targetEnvironment(simulator)
         // ITEM : Trash
         let capabilities = NCManageDatabase.sharedInstance.getCapabilites()
         if capabilities != nil && capabilities!.versionMajor >= Int(k_trash_version_available) {
@@ -134,7 +133,6 @@ class CCMore: UIViewController, UITableViewDelegate, UITableViewDataSource, CCLo
             item.url = "segueTrash"
             functionMenu.append(item)
         }
-//#endif
         
         // ITEM : External
         if NCBrandOptions.sharedInstance.disable_more_external_site == false {