Apply clang-format update fixes
Reviewed By: igorsugak Differential Revision: D25861849 fbshipit-source-id: 840dc1061e557717c7f9ffcccbc09c24b96b78e0
This commit is contained in:
committed by
Facebook GitHub Bot
parent
98b74c4f49
commit
731e39445f
@@ -610,7 +610,8 @@ class JFlipperClient : public jni::HybridClass<JFlipperClient> {
|
||||
const std::string app,
|
||||
const std::string appId,
|
||||
const std::string privateAppDirectory) {
|
||||
FlipperClient::init({{std::move(host),
|
||||
FlipperClient::init(
|
||||
{{std::move(host),
|
||||
std::move(os),
|
||||
std::move(device),
|
||||
std::move(deviceId),
|
||||
|
||||
@@ -57,17 +57,20 @@ static CKComponent* componentForModel(
|
||||
id<NSObject> context) {
|
||||
return CK::BackgroundLayoutComponentBuilder()
|
||||
.component(CK::FlexboxComponentBuilder()
|
||||
.child({.component = CK::ButtonComponentBuilder()
|
||||
.child(
|
||||
{.component = CK::ButtonComponentBuilder()
|
||||
.action(nil)
|
||||
.title(@"Purple")
|
||||
.titleColor(UIColor.purpleColor)
|
||||
.build()})
|
||||
.child({.component = CK::ButtonComponentBuilder()
|
||||
.child(
|
||||
{.component = CK::ButtonComponentBuilder()
|
||||
.action(nil)
|
||||
.title(@"Brown")
|
||||
.titleColor(UIColor.brownColor)
|
||||
.build()})
|
||||
.child({.component = CK::ButtonComponentBuilder()
|
||||
.child(
|
||||
{.component = CK::ButtonComponentBuilder()
|
||||
.action(nil)
|
||||
.title(@"Cyan")
|
||||
.titleColor(UIColor.cyanColor)
|
||||
|
||||
@@ -124,7 +124,8 @@ bool ConnectionContextStore::resetState() {
|
||||
int ret = mkdir(dirPath.c_str(), S_IRUSR | S_IWUSR | S_IXUSR);
|
||||
return ret == 0;
|
||||
} else if (info.st_mode & S_IFDIR) {
|
||||
for (auto file : {CSR_FILE_NAME,
|
||||
for (auto file :
|
||||
{CSR_FILE_NAME,
|
||||
FLIPPER_CA_FILE_NAME,
|
||||
CLIENT_CERT_FILE_NAME,
|
||||
PRIVATE_KEY_FILE,
|
||||
|
||||
Reference in New Issue
Block a user