Created
January 22, 2022 22:54
-
-
Save malcommac/0d8bffdbc79426bddbc37409f97ef5e2 to your computer and use it in GitHub Desktop.
UserExperiments_8.swift
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class FFService { | |
init() { | |
// .... | |
switch target { | |
case .es: | |
overwriteESFlags() | |
case .it: | |
overwriteITFlags() | |
... | |
} | |
private func overwriteESFlags() { | |
user.allowsSSON.setValue(true, provider: [LocalProvider.self]) | |
// ... | |
} | |
private func overwriteITFlags() { | |
user.allowsSSON.setValue(false, provider: [LocalProvider.self]) | |
// ... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment