Skip to content

Commit

Permalink
Cliqz brand configuration - disabling cliqz services
Browse files Browse the repository at this point in the history
  • Loading branch information
chrmod committed Jun 29, 2020
1 parent 5d95113 commit 3203178
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 22 deletions.
16 changes: 11 additions & 5 deletions Branding/Cliqz/Features.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,15 @@ extension Features.Search.AdditionalSearchEngines {
}
}

extension Features.Home.DynamicBackgrounds {
public static var isEnabled: Bool {
return false
}
}

extension Features.Search {
public static var keyboardReturnKeyBehavior: Features.Search.KeyboardReturnKeyBehavior {
return .dismiss
return .search
}
public static var defaultEngineName: String {
return "Cliqz"
Expand All @@ -25,7 +31,7 @@ extension Features.Search {

extension Features.Search.QuickSearch {
public static var isEnabled: Bool {
return true
return false
}
}

Expand All @@ -49,7 +55,7 @@ extension Features.News {

extension Features.Icons {
public static var type: IconType {
return .cliqz
return .favicon
}
}

Expand All @@ -67,13 +73,13 @@ extension Features.ControlCenter.PrivacyStats.SearchStats {

extension Features.Telemetry {
public static var isEnabled: Bool {
return true
return false
}
}

extension Features.TodayWidget {
public static var isEnabled: Bool {
return true
return false
}
}

Expand Down
2 changes: 1 addition & 1 deletion Branding/Cliqz/Intro/Onboarding+Cliqz.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Shared
public extension Onboarding {

static var isEnabled: Bool {
return true
return false
}

static func presentingViewController(delegate: OnboardingViewControllerDelegate?) -> UIViewController? {
Expand Down
2 changes: 1 addition & 1 deletion Branding/Ghostery/LaunchScreen.xib
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<resources>
<image name="splash-Icon" width="154" height="154"/>
<namedColor name="LaunchScreenBackground">
<color red="0.94899999999999995" green="0.94899999999999995" blue="0.97599999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<color red="0.0" green="0.68199998140335083" blue="0.94099998474121094" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</namedColor>
</resources>
</document>
15 changes: 0 additions & 15 deletions UserAgent.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
2B0C81CE248E1BF8003F97B4 /* BrandColors.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 2B0C81CD248E1BF8003F97B4 /* BrandColors.xcassets */; };
2B0E93692407A92300ED7703 /* NotificationCenter.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3905274B1C874D35007E0BB7 /* NotificationCenter.framework */; };
2B0E936C2407A92300ED7703 /* TodayViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B0E936B2407A92300ED7703 /* TodayViewController.swift */; };
2B0E93732407A92300ED7703 /* Today.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = 2B0E93682407A92300ED7703 /* Today.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; };
2B189393247535EF003DA87D /* DataAndPrivacy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B189392247535EF003DA87D /* DataAndPrivacy.swift */; };
2B18939524753898003DA87D /* DataAndPrivacy+Cliqz.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B18939424753898003DA87D /* DataAndPrivacy+Cliqz.swift */; };
2B18939624753C53003DA87D /* Strings+PrivacyStatement.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2B76E43323A129DB001CF20E /* Strings+PrivacyStatement.swift */; };
Expand Down Expand Up @@ -1024,13 +1023,6 @@
remoteGlobalIDString = 288A2D851AB8B3260023ABC3;
remoteInfo = Shared;
};
2B0E93712407A92300ED7703 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = F84B21B61A090F8100AAB793 /* Project object */;
proxyType = 1;
remoteGlobalIDString = 2B0E93672407A92300ED7703;
remoteInfo = Today;
};
2B308AC2242B2B4A009AF3D1 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = F84B21B61A090F8100AAB793 /* Project object */;
Expand Down Expand Up @@ -1252,7 +1244,6 @@
files = (
F84B22541A0920C600AAB793 /* ShareTo.appex in Embed App Extensions */,
2B308AC4242B2B4A009AF3D1 /* Siri.appex in Embed App Extensions */,
2B0E93732407A92300ED7703 /* Today.appex in Embed App Extensions */,
2BE258DF23BA2B4A0022ED28 /* OpenIn.appex in Embed App Extensions */,
);
name = "Embed App Extensions";
Expand Down Expand Up @@ -4344,7 +4335,6 @@
F84B22521A0920C600AAB793 /* PBXTargetDependency */,
2BE258DE23BA2B4A0022ED28 /* PBXTargetDependency */,
049DBB0B23E45C4500D2D38D /* PBXTargetDependency */,
2B0E93722407A92300ED7703 /* PBXTargetDependency */,
2B308AC3242B2B4A009AF3D1 /* PBXTargetDependency */,
);
name = Cliqz;
Expand Down Expand Up @@ -6362,11 +6352,6 @@
target = 288A2D851AB8B3260023ABC3 /* Shared */;
targetProxy = 288A2D9B1AB8B3260023ABC3 /* PBXContainerItemProxy */;
};
2B0E93722407A92300ED7703 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 2B0E93672407A92300ED7703 /* Today */;
targetProxy = 2B0E93712407A92300ED7703 /* PBXContainerItemProxy */;
};
2B308AC3242B2B4A009AF3D1 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 2B308ABC242B2B4A009AF3D1 /* Siri */;
Expand Down

0 comments on commit 3203178

Please sign in to comment.