Skip to content

Commit

Permalink
Add notes about hasHeroGrid and plan about using runtime flags to opt…
Browse files Browse the repository at this point in the history
…imize time to rebuild planet
  • Loading branch information
livid committed Nov 11, 2023
1 parent a9b3a6b commit 51350ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Planet/Entities/MyArticleModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ class MyArticleModel: ArticleModel, Codable {
@Published var link: String
@Published var slug: String? = nil
@Published var heroImage: String? = nil
// TODO: Use more runtime flags to optimize the time to rebuild Planet
/// hasHeroGrid is a runtime flag to indicate whether the article has a hero grid image on disk. It is not persisted in the article JSON file.
@Published var hasHeroGrid: Bool = false
@Published var externalLink: String? = nil

Expand Down
2 changes: 1 addition & 1 deletion Planet/versioning.xcconfig
Original file line number Diff line number Diff line change
@@ -1 +1 @@
CURRENT_PROJECT_VERSION = 1779
CURRENT_PROJECT_VERSION = 1780

0 comments on commit 51350ae

Please sign in to comment.