File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Yosemite/Yosemite/Model/Storage Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ extension Storage.Site: ReadOnlyConvertible {
1414 tagline = site. description
1515 url = site. url
1616// plan = site.plan // We're not assigning the plan here because it's not sent on the intial API request.
17- // TODO: 5364 - update ` isJetpackThePluginInstalled`
18- // TODO: 5364 - update ` isJetpackConnected`
17+ isJetpackThePluginInstalled = site . isJetpackThePluginInstalled
18+ isJetpackConnected = site . isJetpackConnected
1919 isWooCommerceActive = NSNumber ( booleanLiteral: site. isWooCommerceActive)
2020 isWordPressStore = NSNumber ( booleanLiteral: site. isWordPressStore)
2121 timezone = site. timezone
@@ -30,8 +30,8 @@ extension Storage.Site: ReadOnlyConvertible {
3030 description: tagline ?? " " ,
3131 url: url ?? " " ,
3232 plan: plan ?? " " ,
33- isJetpackThePluginInstalled: true , // TODO: 5364 - persist in storage
34- isJetpackConnected: true , // TODO: 5364 - persist in storage
33+ isJetpackThePluginInstalled: isJetpackThePluginInstalled ,
34+ isJetpackConnected: isJetpackConnected ,
3535 isWooCommerceActive: isWooCommerceActive? . boolValue ?? false ,
3636 isWordPressStore: isWordPressStore? . boolValue ?? false ,
3737 timezone: timezone ?? " " ,
You can’t perform that action at this time.
0 commit comments