Skip to content

Commit

Permalink
clear code
Browse files Browse the repository at this point in the history
  • Loading branch information
Marino Faggiana authored and Marino Faggiana committed Jan 8, 2018
1 parent 98ae1d9 commit 0cdb939
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions iOSClient/Brand/NCBrand.swift
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,9 @@ class NCBrandColor: NSObject {
@objc public let linkLoginProvider: String = "https://nextcloud.com/providers"
@objc public let textLoginProvider: String = "_login_bottom_label_"
@objc public let middlewarePingUrl: String = ""
@objc public let webLoginAutenticationProtocol: String = "" // example "abc://"
@objc public let webLoginAutenticationProtocol: String = "nc://" // example "abc://"
@objc public let webCloseViewProtocol: String = "" // example "abc://change/plan"
@objc public let folderBrandAutoUpload: String = "" // example "_auto_upload_folder_"
@objc public let ncFlowEndpoint: String = "/index.php/login/flow"

// Auto Upload default folder
@objc public var folderDefaultAutoUpload: String = "Photos"
Expand Down
2 changes: 2 additions & 0 deletions iOSClient/CCGlobal.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ extern NSString *const appCertificates;
extern NSString *const webDAV;
extern NSString *const dav;

extern NSString *const flowEndpoint;

#ifndef EXTENSION

//AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
Expand Down
4 changes: 4 additions & 0 deletions iOSClient/CCGlobal.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@
// webDAV & DAV
NSString *const webDAV = @"/remote.php/webdav";
NSString *const dav = @"/remote.php/dav";

// Login Flow
NSString *const flowEndpoint = @"/index.php/login/flow";

0 comments on commit 0cdb939

Please sign in to comment.