|
@@ -23,7 +23,12 @@
|
|
|
|
|
|
#import <UIKit/UIKit.h>
|
|
|
|
|
|
-#import "CCImages.h"
|
|
|
+#ifdef CUSTOM_BUILD
|
|
|
+
|
|
|
+#else
|
|
|
+ #import "CCImages.h"
|
|
|
+ #import "CCConstant.h"
|
|
|
+#endif
|
|
|
|
|
|
extern NSString *const appApplicationSupport;
|
|
|
extern NSString *const appDatabase;
|
|
@@ -57,12 +62,6 @@ extern NSString *const BKPasscodeKeychainServiceName;
|
|
|
#define k_capabilitiesGroups @"group.it.twsweb.Crypto-Cloud"
|
|
|
#define k_serviceShareKeyChain @"Crypto Cloud"
|
|
|
|
|
|
-// BRAND
|
|
|
-#ifdef NC
|
|
|
-#define _brand_ @"Nextcloud"
|
|
|
-#define _mail_me_ @"ios@nextcloud.com"
|
|
|
-#endif
|
|
|
-
|
|
|
#define k_dismissAfterSecond 4
|
|
|
|
|
|
#define k_MaxDimensionUpload 524288000 // 500 MB
|
|
@@ -265,53 +264,8 @@ extern NSString *const BKPasscodeKeychainServiceName;
|
|
|
#define k_minCharsSearch 2
|
|
|
|
|
|
// -----------------------------------------------------------------------------------------------------------
|
|
|
-// COLOR
|
|
|
// -----------------------------------------------------------------------------------------------------------
|
|
|
|
|
|
-// NEXTCLOUD COLOR [DEFAULT]
|
|
|
-#ifdef NC
|
|
|
-
|
|
|
-#define COLOR_BRAND [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0] // NC : #0082c9
|
|
|
-
|
|
|
-#define COLOR_SELECT_BACKGROUND [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:0.1]
|
|
|
-
|
|
|
-#define COLOR_TRANSFER_BACKGROUND [UIColor colorWithRed:178.0/255.0 green:244.0/255.0 blue:258.0/255.0 alpha:0.1]
|
|
|
-
|
|
|
-#define COLOR_GROUPBY_BAR [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:0.2]
|
|
|
-#define COLOR_GROUPBY_BAR_NO_BLUR [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:0.3]
|
|
|
-
|
|
|
-#define COLOR_NAVIGATIONBAR [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0]
|
|
|
-#define COLOR_NAVIGATIONBAR_TEXT [UIColor whiteColor]
|
|
|
-#define COLOR_NAVIGATIONBAR_PROGRESS [UIColor colorWithRed:241.0/255.0 green:90.0/255.0 blue:34.0/255.0 alpha:1.0]
|
|
|
-
|
|
|
-#define COLOR_TABBAR [UIColor colorWithRed:247.0/255.0 green:247.0/255.0 blue:247.0/255.0 alpha:1]
|
|
|
-#define COLOR_TABBAR_TEXT [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0]
|
|
|
-
|
|
|
-#define COLOR_BACKGROUND_MENU [UIColor whiteColor]
|
|
|
-
|
|
|
-#define COLOR_BACKGROUND_PAGECONTROL [UIColor colorWithRed:247.0/255.0 green:247.0/255.0 blue:247.0/255.0 alpha:1.0]
|
|
|
-#define COLOR_PAGECONTROL_INDICATOR [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0]
|
|
|
-
|
|
|
-#define COLOR_CRYPTOCLOUD [UIColor colorWithRed:241.0/255.0 green:90.0/255.0 blue:34.0/255.0 alpha:1.0]
|
|
|
-
|
|
|
-#define COLOR_TEXT_ANTHRACITE [UIColor colorWithRed:65.0/255.0 green:64.0/255.0 blue:66.0/255.0 alpha:1.0] // #414042
|
|
|
-
|
|
|
-#define COLOR_TEXT_NO_CONNECTION [UIColor colorWithRed:204.0/255.0 green:204.0/255.0 blue:204.0/255.0 alpha:1.0]
|
|
|
-
|
|
|
-#define COLOR_SEPARATOR_TABLE [UIColor colorWithRed:235.0/255.0 green:235.0/255.0 blue:235.0/255.0 alpha:1.0] // iOS 7
|
|
|
-
|
|
|
-#define COLOR_BACKGROUND_MESSAGE_INFO [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0]
|
|
|
-#define COLOR_CONTROL_CENTER [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0]
|
|
|
-#define COLOR_REFRESH_CONTROL [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0]
|
|
|
-#define COLOR_WINDOW_TINTCOLOR [UIColor colorWithRed:0.0/255.0 green:130.0/255.0 blue:201.0/255.0 alpha:1.0] // NC : #0082c9
|
|
|
-
|
|
|
-#endif
|
|
|
-
|
|
|
-
|
|
|
-// -----------------------------------------------------------------------------------------------------------
|
|
|
-// -----------------------------------------------------------------------------------------------------------
|
|
|
-
|
|
|
-
|
|
|
@interface CCAspect : NSObject
|
|
|
|
|
|
+ (void)aspectNavigationControllerBar:(UINavigationBar *)nav encrypted:(BOOL)encrypted online:(BOOL)online hidden:(BOOL)hidden;
|