Skip to content

Commit

Permalink
[Bug] Null check and return false if null.
Browse files Browse the repository at this point in the history
  • Loading branch information
notandyvee committed May 20, 2024
1 parent 595f399 commit 5165d1f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class EditPostRepository
val status: PostStatus
get() = fromPost(getPost())
val isPage: Boolean
get() = post!!.isPage
get() = post?.isPage == true
val isLocalDraft: Boolean
get() = post!!.isLocalDraft
val isLocallyChanged: Boolean
Expand Down

0 comments on commit 5165d1f

Please sign in to comment.