Skip to content

Commit b0c60d8

Browse files
committed
Fix imported article missing content
1 parent 8f9aeb5 commit b0c60d8

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

Planet.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,7 +651,7 @@
651651
"@executable_path/../Frameworks",
652652
);
653653
MACOSX_DEPLOYMENT_TARGET = 12.0;
654-
MARKETING_VERSION = 0.6.11;
654+
MARKETING_VERSION = 0.6.12;
655655
PRODUCT_BUNDLE_IDENTIFIER = "$(ORGANIZATION_IDENTIFIER_PREFIX).Planet";
656656
PRODUCT_NAME = "$(TARGET_NAME)";
657657
PROVISIONING_PROFILE_SPECIFIER = "";
@@ -681,7 +681,7 @@
681681
"@executable_path/../Frameworks",
682682
);
683683
MACOSX_DEPLOYMENT_TARGET = 12.0;
684-
MARKETING_VERSION = 0.6.11;
684+
MARKETING_VERSION = 0.6.12;
685685
PRODUCT_BUNDLE_IDENTIFIER = "$(ORGANIZATION_IDENTIFIER_PREFIX).Planet";
686686
PRODUCT_NAME = "$(TARGET_NAME)";
687687
PROVISIONING_PROFILE_SPECIFIER = "";

Planet/Entities/Planet.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,9 @@ class Planet: NSManagedObject, Codable {
383383
if FileManager.default.fileExists(atPath: articleURL.path) {
384384
let article = PlanetArticle()
385385
article.id = articleInfo.id
386-
article.planetID = planet.id
387386
article.title = articleInfo.title
387+
article.content = articleInfo.content
388+
article.planetID = planet.id
388389
article.link = articleInfo.link
389390
article.created = articleInfo.created
390391
PlanetDataController.shared.save()

Planet/versioning.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CURRENT_PROJECT_VERSION = 342
1+
CURRENT_PROJECT_VERSION = 344

0 commit comments

Comments
 (0)