Skip to content

Commit

Permalink
Fix check for Simple sites
Browse files Browse the repository at this point in the history
Simple sites are WP.com-connected non-Atomic sites.
  • Loading branch information
guarani committed Mar 15, 2021
1 parent 16b22f8 commit 88f3dfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WordPress/Classes/Utility/Editor/GutenbergSettings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ class GutenbergSettings {
let blog = post.blog

if post.isContentEmpty() {
let isSimpleWPComSite = blog.isAtomic() || !blog.isHostedAtWPcom
let isSimpleWPComSite = !blog.isAtomic() && blog.isHostedAtWPcom
return isSimpleWPComSite || blog.isGutenbergEnabled
} else {
// It's an existing post
Expand Down

0 comments on commit 88f3dfb

Please sign in to comment.