Skip to content
This repository was archived by the owner on Feb 4, 2025. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Enable GSS for WP version >= 5.8
  • Loading branch information
antonis committed Jun 28, 2021
commit 930152705dcfb9dd970e0984d567499fb933af21
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import org.wordpress.android.fluxc.store.ReactNativeFetchResponse.Error
import org.wordpress.android.fluxc.store.ReactNativeFetchResponse.Success
import org.wordpress.android.fluxc.tools.CoroutineEngine
import org.wordpress.android.util.AppLog
// import org.wordpress.android.util.helpers.Version
import org.wordpress.android.util.helpers.Version
import javax.inject.Inject
import javax.inject.Singleton

Expand Down Expand Up @@ -144,5 +144,5 @@ class EditorThemeStore
}

private fun globalStyleSettingsAvailable(site: SiteModel, gssEnabled: Boolean) =
gssEnabled // && (site.isWPCom || Version(site.softwareVersion) >= Version(GSS_LIMIT_VERSION))
gssEnabled && Version(site.softwareVersion) >= Version(GSS_LIMIT_VERSION)
}